Skip to content

Conversation

@katspaugh
Copy link
Member

The delete transaction endpoint returns "OK" instead of a JSON. This seems to only happen in Cypress, so the behavior is not consistent across browsers (probably a bug in the CGW, @iamacook @hectorgomezv ?).

Anyway, this PR ignores non-JSON payloads and relies solely on the HTTP status code to return an error or success.

@katspaugh katspaugh requested a review from usame-algan July 16, 2024 09:51
Copy link
Contributor

@usame-algan usame-algan left a comment

Choose a reason for hiding this comment

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

👍

@katspaugh katspaugh merged commit 9f85795 into main Jul 16, 2024
@katspaugh katspaugh deleted the ignore-json branch July 16, 2024 11:23
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.

3 participants