don't return promise from authorize
This commit is contained in:
parent
58bd86339a
commit
49e9131cfe
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue