Skip to content

Commit

Permalink
chore: add user type
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Nov 15, 2024
1 parent 2edd417 commit 367482f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/server/lib/oauth/seznam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export interface OAuthSeznamUser {
gender?: string | null
}

export function defineOAUthSeznamEventHandler({ config, onSuccess, onError }: OAuthConfig<OAuthSeznamConfig>) {
export function defineOAUthSeznamEventHandler({ config, onSuccess, onError }: OAuthConfig<OAuthSeznamConfig, OAuthSeznamUser>) {
return eventHandler(async (event: H3Event) => {
config = defu(config, useRuntimeConfig(event).oauth?.google, {
authorizationURL: 'https://login.szn.cz/api/v1/oauth/auth',
Expand Down

0 comments on commit 367482f

Please sign in to comment.