From 2b147c85a234cddc39973bdf879729e6e7e5360e Mon Sep 17 00:00:00 2001 From: alma Date: Thu, 17 Apr 2025 00:02:15 +0200 Subject: [PATCH] Neah version calendar fix 3 debuger sec chance 3 --- app/api/auth/[...nextauth]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index b1515f4..995b29c 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -123,7 +123,7 @@ export const authOptions: NextAuthOptions = { session.accessToken = token.accessToken as string; session.user = { ...session.user, - id: token.sub as string, + id: token.sub ?? '', first_name: token.first_name ?? '', last_name: token.last_name ?? '', username: token.username ?? '',