mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
fix(console): fix unexpected 401 error toast (#6416)
This commit is contained in:
parent
ebc04a283d
commit
f96a6e49a9
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ export const useStaticApi = ({
|
|||
if (
|
||||
isCloud &&
|
||||
isDevFeaturesEnabled &&
|
||||
isAuthenticated &&
|
||||
['POST', 'PUT', 'DELETE'].includes(request.method) &&
|
||||
response.status >= 200 &&
|
||||
response.status < 300
|
||||
|
|
Loading…
Add table
Reference in a new issue