fix typos

This commit is contained in:
Jacob Levine 2019-02-12 21:00:00 -06:00
parent 4822be0ece
commit ffd64eb3d2

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)