This commit is contained in:
Jacob Levine 2019-03-07 21:18:13 -06:00
parent ed151f1707
commit 9d9dcbbb71

View File

@ -78,7 +78,7 @@ function updun() {
document.getElementById('status').innerHTML = "You are signed in as: " + 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 merge: true
} })
}).catch(function(error) { }).catch(function(error) {
alert("there was a problem: " + error) alert("there was a problem: " + error)
}); });