fix(airtable): remove user ID out of screen name

This commit is contained in:
Ali BARIN
2024-05-15 15:30:36 +00:00
parent 3b2946aac5
commit 21a921d25d

View File

@@ -41,9 +41,6 @@ const verifyCredentials = async ($) => {
});
const currentUser = await getCurrentUser($);
const screenName = [currentUser.email, currentUser.id]
.filter(Boolean)
.join(' @ ');
await $.auth.set({
clientId: $.auth.data.clientId,
@@ -52,7 +49,7 @@ const verifyCredentials = async ($) => {
expiresIn: data.expires_in,
refreshExpiresIn: data.refresh_expires_in,
refreshToken: data.refresh_token,
screenName,
screenName: currentUser.email,
});
};