Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 2ce3a41

Browse files
committed
lean code
1 parent ecc4ad7 commit 2ce3a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase.ios.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ function toLoginResult(user, additionalUserInfo?: FIRAdditionalUserInfo): User {
631631
providers.push({id: pid, token: FBSDKAccessToken.currentAccessToken ? FBSDKAccessToken.currentAccessToken.tokenString : null});
632632
} else if (pid === 'google.com' && typeof (GIDSignIn) !== "undefined" && GIDSignIn.sharedInstance() && GIDSignIn.sharedInstance().currentUser) {
633633
// include web compatible oauth2 token
634-
var gidCurrentIdToken = GIDSignIn.sharedInstance().currentUser.authentication.idToken;
634+
const gidCurrentIdToken = GIDSignIn.sharedInstance().currentUser.authentication.idToken;
635635
providers.push({ id: pid, token: gidCurrentIdToken });
636636
} else {
637637
providers.push({id: pid});

0 commit comments

Comments
 (0)