From 628dac5835a1eb43147b5908dba0ad1456ee9ad0 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Fri, 22 Mar 2019 09:18:59 -0500 Subject: [PATCH] web3\ --- 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 d28744c7..daee73aa 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -390,7 +390,7 @@ function subReport() { } catch (e) { } - firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + matchNum).set(function() { + 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!') setTimeout(function() { window.location.href = '../scout';