Skip to content

Conversation

@sosnovsky
Copy link
Collaborator

This PR improves handling of empty API response (usually happens on DELETE requests)

close #5601


Tests (delete all except exactly one):

  • Difficult to test (explain why) - initial error doesn't affect functionality, it's just printed to console

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

@sosnovsky sosnovsky requested a review from martgil February 16, 2024 08:23
@sosnovsky
Copy link
Collaborator Author

Hi @martgil, this one ready for review, thanks!

@sosnovsky sosnovsky marked this pull request as ready for review February 16, 2024 08:23
Copy link
Collaborator

@martgil martgil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually tested and confirmed working.

@sosnovsky sosnovsky merged commit a674789 into master Feb 16, 2024
@sosnovsky sosnovsky deleted the 5601-api-response-fix branch February 16, 2024 10:54
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.

"SyntaxError: Unexpected end of JSON input" on draftDelete

3 participants