[WEB-4453] fix: enable revalidation on focus and stale data for current user fetch to handle 401 errors (#7353)

This commit is contained in:
Prateek Shourya 2025-07-07 19:52:18 +05:30 committed by GitHub
parent e306a92adb
commit a2a62e2731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -26,7 +26,7 @@ export class UserService extends APIService {
return this.get("/api/users/me/")
.then((response) => response?.data)
.catch((error) => {
throw error?.response;
throw error;
});
}