diff --git a/website/public/profile/scripts.js b/website/public/profile/scripts.js index 2e47115b..edecfe20 100644 --- a/website/public/profile/scripts.js +++ b/website/public/profile/scripts.js @@ -79,6 +79,7 @@ function updun() { firebase.firestore().collection("users").doc(user.uid).set({alias:firebase.auth().currentUser.displayName}}, { merge: true }) + } }).catch(function(error) { alert("there was a problem: " + error) });