diff --git a/pages/api/auth/[...nextauth].js b/pages/api/auth/[...nextauth].js index c099d2a0..cbdddd88 100644 --- a/pages/api/auth/[...nextauth].js +++ b/pages/api/auth/[...nextauth].js @@ -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({