From 501bc3e269e520362c22b15e680e8ee6c113b73f Mon Sep 17 00:00:00 2001 From: "JeanClaude (JC)" Date: Sat, 3 Aug 2024 04:42:35 +0400 Subject: [PATCH] Update [...nextauth].ts --- pages/api/auth/[...nextauth].ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts index 3569f5c..4857c48 100644 --- a/pages/api/auth/[...nextauth].ts +++ b/pages/api/auth/[...nextauth].ts @@ -34,7 +34,7 @@ export default async function auth(req: any, res: any) { if (result.success) { return { - id: siwe.address, + id: result.data.address, } } return null @@ -69,4 +69,4 @@ export default async function auth(req: any, res: any) { }, }, }) -} \ No newline at end of file +}