Skip to content

Commit cf9e205

Browse files
committed
lint fix 2
1 parent 16a8574 commit cf9e205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth-next/oidc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ function oidcDirectSignIn(provider, oidcIdToken) {
7474
const auth = getAuth();
7575
const credential = provider.credential({
7676
idToken: oidcIdToken,
77-
})
77+
});
7878
signInWithCredential(auth, credential)
7979
.then((result) => {
8080
// User is signed in.
81-
credential = OAuthProvider.credentialFromResult(result);
81+
const newCredential = OAuthProvider.credentialFromResult(result);
8282
// This gives you a new access token for the OIDC provider. You can use it to directly interact with that provider.
8383
})
8484
.catch((error) => {

0 commit comments

Comments
 (0)