Skip to content

Commit 34dfb7b

Browse files
committed
chore: fix types
1 parent 7c23543 commit 34dfb7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/server/utils/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export async function requireUserSession(event: H3Event): Promise<UserSession &
7272
return userSession as UserSession & { user: User }
7373
}
7474

75-
const sessionConfig: SessionConfig = useRuntimeConfig().session
75+
const sessionConfig = useRuntimeConfig().session as SessionConfig
7676

7777
function _useSession (event: H3Event) {
7878
return useSession<UserSession>(event, sessionConfig)

0 commit comments

Comments
 (0)