diff --git a/website/public/team/scripts.js b/website/public/team/scripts.js index d1d5f01b..05fac4dd 100644 --- a/website/public/team/scripts.js +++ b/website/public/team/scripts.js @@ -65,7 +65,7 @@ window.onload = function() { function cnt(tn) { user=firebase.auth().currentUser; - firebase.firestore().collection("UserAssociations").doc(user.id).set({ + firebase.firestore().collection("UserAssociations").doc(user.uid).set({ tn: 'captain' }, { merge: true