-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: auth interceptor reading status if undefined
When an error occurred in an axios request before the request was even sent, i.e. when a request interceptor causes an error, the authInterceptor causes an error as it tries to read the property status. Fixed authInterceptor to accept errors without response.
- Loading branch information
Gido Manders
committed
Mar 24, 2023
1 parent
ee2b224
commit f2a9be8
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters