refactor(pages): add getSession
call to new story page
This commit is contained in:
parent
bb61075d87
commit
0c038fe708
@ -2,6 +2,9 @@
|
||||
import storyForm from "~/components/story/create/storyForm.vue";
|
||||
import { defaultStory } from "@client/types/form/story";
|
||||
const ds = ref(defaultStory);
|
||||
const { getSession } = useAuth();
|
||||
await getSession({ force: true });
|
||||
|
||||
definePageMeta({
|
||||
middleware: ["auth"],
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user