From 6548875a8be9b8cba4fa1e8b560f68d25bde6dc6 Mon Sep 17 00:00:00 2001 From: Yevhen Odynets Date: Wed, 5 Feb 2025 09:05:43 +0200 Subject: [PATCH] auth file fix --- auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.ts b/auth.ts index 2db7f5c..0fe3b95 100644 --- a/auth.ts +++ b/auth.ts @@ -72,7 +72,7 @@ export const { if (!exisingUser) return token - token.isOauth = Boolean(exisingUser?.isOauth) + token.isOauth = Boolean(exisingUser?.isOauth || false) token.provider = exisingUser.provider token.role = exisingUser.role token.profileId = exisingUser.profileId