diff --git a/auth.ts b/auth.ts index 0fe3b95..94ee955 100644 --- a/auth.ts +++ b/auth.ts @@ -72,7 +72,8 @@ export const { if (!exisingUser) return token - token.isOauth = Boolean(exisingUser?.isOauth || false) + // ts-ignore + token.isOauth = Boolean(exisingUser?.isOauth) token.provider = exisingUser.provider token.role = exisingUser.role token.profileId = exisingUser.profileId