Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3eabc65 + 72feb40 commit af138b3Copy full SHA for af138b3
installations/index.js
@@ -24,9 +24,9 @@ async function getInstallationId() {
24
async function getAuthenticationToken() {
25
try {
26
// [START get_auth_token]
27
- const authToken = await firebase.installations()
+ const installationToken = await firebase.installations()
28
.getToken(/* forceRefresh */ true);
29
- console.log(authToken);
+ console.log(installationToken);
30
// [END get_auth_token]
31
} catch (err) {
32
console.error('Unable to get auth token: ', err);
@@ -44,4 +44,4 @@ async function setOnIdChangeHandler() {
44
45
console.error('Unable to set ID change handler: ', err);
46
}
47
-}
+}
0 commit comments