Skip to content

fix status code checks#3

Open
GoldenretriverYT wants to merge 1 commit intoStakeEngine:mainfrom
GoldenretriverYT:fix-status-checks
Open

fix status code checks#3
GoldenretriverYT wants to merge 1 commit intoStakeEngine:mainfrom
GoldenretriverYT:fix-status-checks

Conversation

@GoldenretriverYT
Copy link

replaces the status code checks (that seem to have intended to allow any 2xx, but actually fail on anything other than 200 because everything is a float) with a simple check against the response.ok attribute

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