MCPcopy Create free account
hub / github.com/AnswerOverflow/AnswerOverflow / updateAccountInfo

Function updateAccountInfo

packages/core/src/auth.ts:463–470  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

461 return Analytics.finishAnalyticsCollection();
462 };
463 const updateAccountInfo = async () => {
464 const foundAccount = await findAccountByProviderAccountId({
465 provider: account.provider,
466 providerAccountId: account.providerAccountId,
467 });
468 if (!foundAccount) return;
469 return updateProviderAuthToken(account);
470 };
471 await Promise.all([identifyAccount(), updateAccountInfo()]);
472 return true;
473 },

Callers 1

signInFunction · 0.85

Calls 2

updateProviderAuthTokenFunction · 0.85

Tested by

no test coverage detected