dont be stupid

This commit is contained in:
Jacob Levine 2019-03-22 00:38:37 -05:00
parent 23d6eebff1
commit 64da97bfdc

View File

@ -381,7 +381,7 @@ function subReport() {
push[user.uid][name] = document.querySelector('input[name="' + name + '"]:checked').value;
}
}
firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + mselect).set(push, {
firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + matchNum).set(push, {
merge: true
}).then(function() {
alert('Submitted!')