Skip to content

Conversation

famouswizard
Copy link

I noticed we were using a hardcoded check for status 200 in the code. To make it more robust and handle all successful responses (2xx), I replaced it with response.ok.

This ensures the code works correctly for other success statuses like 201 or 204 as well.

Changes made:

  • Replaced response.status === 200 with response.ok.

This should improve reliability without changing the intended behavior.

Copy link

vercel bot commented Jan 27, 2025

@famouswizard is attempting to deploy a commit to the farcaster Team on Vercel.

A member of the Team first needs to authorize it.

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