Skip to content

Added a static onUnauthorized interceptor to APIClient#37

Merged
patricioxavier8 merged 1 commit into
mainfrom
fix/handling-401-error
Apr 27, 2026
Merged

Added a static onUnauthorized interceptor to APIClient#37
patricioxavier8 merged 1 commit into
mainfrom
fix/handling-401-error

Conversation

@patricioxavier8

Copy link
Copy Markdown
Contributor

Added a static onUnauthorized closure to the APIClient. This interceptor is triggered immediately upon detecting a 401 status code, preventing unnecessary retries and ensuring consistent behavior.

@patricioxavier8 patricioxavier8 requested a review from CandelR April 17, 2026 19:56
@patricioxavier8 patricioxavier8 merged commit 935219c into main Apr 27, 2026
1 check passed
@patricioxavier8 patricioxavier8 deleted the fix/handling-401-error branch April 27, 2026 14:47
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.

2 participants