From 89e770a22074c686bd913e68f80464b5ec9b3d9a Mon Sep 17 00:00:00 2001 From: Ezra Khairan Permana Date: Sun, 16 Jun 2024 07:43:37 +0700 Subject: [PATCH] fix: typing 3 --- packages/auth/src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/auth/src/config.ts b/packages/auth/src/config.ts index 871e09bc..4ff9d061 100644 --- a/packages/auth/src/config.ts +++ b/packages/auth/src/config.ts @@ -72,8 +72,8 @@ export const authConfig = { email: session.user.email, }); - session.user.role = user.role; - session.user.verifiedAt = user.verifiedAt; + session.user.role = user!.role; + session.user.verifiedAt = user!.verifiedAt; return session; },