Skip to content

Conversation

@atyrode
Copy link
Contributor

@atyrode atyrode commented Apr 25, 2025

  • Added a new function to handle unauthorized errors by updating the auth state in the query cache, triggering the AuthModal.
  • Updated the existing response handling to incorporate the new unauthorized error handling.
  • Improved clarity in the response handling logic for different status codes, including 204 and JSON responses.
  • Updated the queryClient configuration to rename the cacheTime property to gcTime for clarity, indicating its purpose more accurately as garbage collection time.

atyrode added 2 commits April 25, 2025 02:05
- Added a new function to handle unauthorized errors by updating the auth state in the query cache, triggering the AuthModal.
- Updated the existing response handling to incorporate the new unauthorized error handling.
- Improved clarity in the response handling logic for different status codes, including 204 and JSON responses.
- Updated the queryClient configuration to rename the cacheTime property to gcTime for clarity, indicating its purpose more accurately as garbage collection time.
@atyrode atyrode merged commit d3db9aa into main Apr 25, 2025
1 check passed
@atyrode atyrode deleted the auth-check-fix branch April 25, 2025 02:14
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