one of these times im going to actually catch it

This commit is contained in:
Jacob Levine 2019-03-07 21:22:04 -06:00
parent dfd5366112
commit 2a449eba1a

View File

@ -76,7 +76,7 @@ function updun() {
}).then(function() {
document.getElementById('newDN').innerHTML = firebase.auth().currentUser.displayName;
document.getElementById('status').innerHTML = "You are signed in as: " + firebase.auth().currentUser.displayName;
firebase.firestore().collection("users").doc(user.uid).set({alias:firebase.auth().currentUser.displayName}}, {
firebase.firestore().collection("users").doc(user.uid).set({alias:firebase.auth().currentUser.displayName}, {
merge: true
})
}).catch(function(error) {