fix typos

This commit is contained in:
Jacob Levine committed 2019-02-12 21:00:00 -06:00
1 parent 4822be0ece
commit ffd64eb3d2
1 file changed
+3 -3
+3 -3
View File
@@ -65,9 +65,9 @@ window.onload = function() {
function cnt(tn) {
user=firebase.auth().currentUser;
firebase.firestore().collection("UserAssociations").doc(user.uid).set({
tn: 'captain'
}, {
push={}
push[tn]='captian'
firebase.firestore().collection("UserAssociations").doc(user.uid).set(push, {
merge: true
}).then(function() {
teamAssoc = firebase.firestore().collection('UserAssociations').doc(user.uid)