Seperated plugin and api types into subprojects #2
|
@ -49,7 +49,7 @@ export const useMainStore = defineStore({
|
||||||
const sessionStore = useSessionStore();
|
const sessionStore = useSessionStore();
|
||||||
const session = await sessionStore.getSession(this.session.token);
|
const session = await sessionStore.getSession(this.session.token);
|
||||||
if (session) {
|
if (session) {
|
||||||
this.session = this.session;
|
this.session = session;
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const user = await userStore.getUser(this.session.userid);
|
const user = await userStore.getUser(this.session.userid);
|
||||||
if (user) {
|
if (user) {
|
||||||
|
|
Loading…
Reference in New Issue