From 5036a5d27e752ac69f084e9f84fc2b3aca8ee771 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 12 Apr 2023 20:33:56 +0800 Subject: [PATCH] fix(nc-gui): remove non-existing sign out api --- packages/nc-gui/composables/useGlobal/actions.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/nc-gui/composables/useGlobal/actions.ts b/packages/nc-gui/composables/useGlobal/actions.ts index b08ec5989d..3190f7dbde 100644 --- a/packages/nc-gui/composables/useGlobal/actions.ts +++ b/packages/nc-gui/composables/useGlobal/actions.ts @@ -10,10 +10,6 @@ export function useGlobalActions(state: State): Actions { const signOut: Actions['signOut'] = async () => { state.token.value = null state.user.value = null - try { - const nuxtApp = useNuxtApp() - await nuxtApp.$api.auth.signout() - } catch {} } /** Sign in by setting the token in localStorage */