diff --git a/composables/session.ts b/composables/session.ts index 579b43f..1031183 100644 --- a/composables/session.ts +++ b/composables/session.ts @@ -1,6 +1,6 @@ export const useAccountSession = () => useFetch( "/api/auth/session", { - transform: (input) => input === undefined ? null : input, + transform: (input) => input === undefined ? false : input, } );