Skip to content

Commit

Permalink
ready for bb
Browse files Browse the repository at this point in the history
  • Loading branch information
William Yuan committed Nov 4, 2022
1 parent 352e110 commit ceb1b00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ function uploadData() {
"ZTeam": data[0]
};

cr(or(sr(db, 'Events/Test2022/Robots/' + data[0] + '/'), data[1]), json_data)
cr(or(sr(db, 'Events/BB2022/Robots/' + data[0] + '/'), data[1]), json_data)

hr(sr(db, 'Events/Test2022/Matches/' + data[1] + "-" + data[3] + "/"), json_data)
hr(sr(db, 'Events/BB2022/Matches/' + data[1] + "-" + data[3] + "/"), json_data)

cr(or(sr(db, `Events/Test2022/Matches/`), (data[1] + "-" + data[3])),json_data)
cr(or(sr(db, `Events/BB2022/Matches/`), (data[1] + "-" + data[3])),json_data)
document.getElementById("status").innerHTML += "Successful Upload for " + data[1] + "-" + data[3] + "<br>" ;
}
catch(err){
Expand Down

0 comments on commit ceb1b00

Please sign in to comment.