mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: try to refresh token before logging out on 401 unauthorized
This commit is contained in:
@@ -47,7 +47,7 @@ export const EVENTS = {
|
||||
appRefreshRequested: "app:refreshRequested",
|
||||
noteRemoved: "note:removed",
|
||||
tokenRefreshed: "token:refreshed",
|
||||
logoutUser: "user:logout",
|
||||
userUnauthorized: "user:unauthorized",
|
||||
attachmentsLoading: "attachments:loading",
|
||||
attachmentDeleted: "attachment:deleted",
|
||||
mediaAttachmentDownloaded: "attachments:mediaDownloaded",
|
||||
|
||||
Reference in New Issue
Block a user