From 1f50c6dd164989afdd432466e845187408808e39 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Thu, 7 Mar 2019 19:37:06 -0600 Subject: [PATCH] test bugfix --- website/public/team/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/team/scripts.js b/website/public/team/scripts.js index 5eab0bc3..e5431ca2 100644 --- a/website/public/team/scripts.js +++ b/website/public/team/scripts.js @@ -99,7 +99,7 @@ function checkKeyMatch(dt,tn,key){ function reqjt(tn,tc){ user=firebase.auth().currentUser; dict=firebase.firestore().collection('teamData').doc('joinCodes').data(); - if checkKeyMatch(dict,tn,tc){ + if (checkKeyMatch(dict,tn,tc)){ push={}; push[tn]='scout'; firebase.firestore().collection("UserAssociations").doc(user.uid).set(push, {