mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 09:59:10 +00:00
test bugfix
This commit is contained in:
parent
9ca336934a
commit
1f50c6dd16
@ -99,7 +99,7 @@ function checkKeyMatch(dt,tn,key){
|
|||||||
function reqjt(tn,tc){
|
function reqjt(tn,tc){
|
||||||
user=firebase.auth().currentUser;
|
user=firebase.auth().currentUser;
|
||||||
dict=firebase.firestore().collection('teamData').doc('joinCodes').data();
|
dict=firebase.firestore().collection('teamData').doc('joinCodes').data();
|
||||||
if checkKeyMatch(dict,tn,tc){
|
if (checkKeyMatch(dict,tn,tc)){
|
||||||
push={};
|
push={};
|
||||||
push[tn]='scout';
|
push[tn]='scout';
|
||||||
firebase.firestore().collection("UserAssociations").doc(user.uid).set(push, {
|
firebase.firestore().collection("UserAssociations").doc(user.uid).set(push, {
|
||||||
|
Loading…
Reference in New Issue
Block a user