refactor(pages): add getSession call to new story page

This commit is contained in:
parent bb61075d87
commit 0c038fe708
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -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"],
});