(accountId: string, message: string, db: PrismaClient)
| 145 | }; |
| 146 | |
| 147 | const setTokenRefreshError = async (accountId: string, message: string, db: PrismaClient) => { |
| 148 | await db.account.update({ |
| 149 | where: { id: accountId }, |
| 150 | data: { tokenRefreshErrorMessage: message }, |
| 151 | }); |
| 152 | }; |
| 153 | |
| 154 | const refreshOAuthToken = async ( |
| 155 | providerId: string, |
no outgoing calls
no test coverage detected