()
| 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 | }, |
no test coverage detected