Closed mrosata closed 8 years ago
There is a close parenthesis ) after the closing curly brace } on the if statement.
)
}
if
firebase.auth().onAuthStateChanged(function(user) { if (user) { firebase.authMigrator().clearLegacyAuth(); }); });
should be:
firebase.auth().onAuthStateChanged(function(user) { if (user) { firebase.authMigrator().clearLegacyAuth(); }; });
Fixed with https://github.com/firebase/firebase-auth-migration-helpers/commit/eb0ab4d7d1e24b3201a0ee29e39e596c2a9543c0. Thanks for letting us know.
There is a close parenthesis
)
after the closing curly brace}
on theif
statement.should be: