diff --git a/api/src/stores/main.ts b/api/src/stores/main.ts index b4e7121..777782e 100644 --- a/api/src/stores/main.ts +++ b/api/src/stores/main.ts @@ -49,7 +49,7 @@ export const useMainStore = defineStore({ const sessionStore = useSessionStore(); const session = await sessionStore.getSession(this.session.token); if (session) { - this.session = this.session; + this.session = session; const userStore = useUserStore(); const user = await userStore.getUser(this.session.userid); if (user) {