fix: update scope on oauth re-login

This commit is contained in:
Bereket Engida
2025-01-13 16:56:23 +03:00
parent 0086e84274
commit 2161eb159d

View File

@@ -85,6 +85,7 @@ export async function handleOAuthUserInfo(
refreshToken: account.refreshToken,
accessTokenExpiresAt: account.accessTokenExpiresAt,
refreshTokenExpiresAt: account.refreshTokenExpiresAt,
scope: account.scope,
}).filter(([_, value]) => value !== undefined),
);