Skip to content

Accept the null value for errors and messages when deserialising ApiSuccess#287

Open
jakubadamw wants to merge 4 commits intocloudflare:masterfrom
jakubadamw:queue-listing-allow-null-messages-errors
Open

Accept the null value for errors and messages when deserialising ApiSuccess#287
jakubadamw wants to merge 4 commits intocloudflare:masterfrom
jakubadamw:queue-listing-allow-null-messages-errors

Conversation

@jakubadamw
Copy link

I am seeing instances of these at least for the /accounts/{account_id}/queues endpoint:

{
  "result": [],
  "success": true,
  "errors": null,
  "messages": null,
  "result_info": {
    "page": 1,
    "per_page": 100,
    "count": 0,
    "total_count": 0,
    "total_pages": 0
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant