From 64da97bfdc476aed5521c7e99f1624c7d5a53aa5 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Fri, 22 Mar 2019 00:38:37 -0500 Subject: [PATCH] dont be stupid --- website/public/scout/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index 165232b3..8a9b7750 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -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!')