Skip to content

Commit ad3442c

Browse files
committed
yarn run format
1 parent 283f179 commit ad3442c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/auth/src/core/auth/auth_impl.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,16 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
271271
try {
272272
// Awaits for the callback method to execute. The callback method
273273
// is responsible for performing the exchangeToken(auth, valid3pIdpToken)
274-
const result: RefreshIdpTokenResult = await this.tokenRefreshHandler.refreshIdpToken();
275-
_assert(result.idToken && result.idpConfigId, AuthErrorCode.INVALID_CREDENTIAL);
274+
const result: RefreshIdpTokenResult =
275+
await this.tokenRefreshHandler.refreshIdpToken();
276+
_assert(
277+
result.idToken && result.idpConfigId,
278+
AuthErrorCode.INVALID_CREDENTIAL
279+
);
276280
await exchangeToken(this, result.idpConfigId, result.idToken);
277281
return this.getFirebaseAccessToken(false);
278282
} catch (error) {
279-
console.error("Token refresh failed:", error);
283+
console.error('Token refresh failed:', error);
280284
return null;
281285
}
282286
}

0 commit comments

Comments
 (0)