don't return promise from authorize

This commit is contained in:
keyan 2023-11-12 10:46:06 -06:00
parent 58bd86339a
commit 49e9131cfe
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ const providers = [
},
authorize: async ({ event }, req) => {
const credentials = await nostrEventAuth(event)
return pubkeyAuth(credentials, new NodeNextRequest(req), 'nostrAuthPubkey')
return await pubkeyAuth(credentials, new NodeNextRequest(req), 'nostrAuthPubkey')
}
}),
GitHubProvider({