Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Feb 23, 2024
1 parent 7c23543 commit 34dfb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/server/utils/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export async function requireUserSession(event: H3Event): Promise<UserSession &
return userSession as UserSession & { user: User }
}

const sessionConfig: SessionConfig = useRuntimeConfig().session
const sessionConfig = useRuntimeConfig().session as SessionConfig

function _useSession (event: H3Event) {
return useSession<UserSession>(event, sessionConfig)
Expand Down

0 comments on commit 34dfb7b

Please sign in to comment.