We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c23543 commit 34dfb7bCopy full SHA for 34dfb7b
src/runtime/server/utils/session.ts
@@ -72,7 +72,7 @@ export async function requireUserSession(event: H3Event): Promise<UserSession &
72
return userSession as UserSession & { user: User }
73
}
74
75
-const sessionConfig: SessionConfig = useRuntimeConfig().session
+const sessionConfig = useRuntimeConfig().session as SessionConfig
76
77
function _useSession (event: H3Event) {
78
return useSession<UserSession>(event, sessionConfig)
0 commit comments