mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-31 03:08:29 +08:00
updated log
This commit is contained in:
parent
0492d42ead
commit
90377b7906
1 changed files with 3 additions and 4 deletions
|
|
@ -833,10 +833,9 @@ async function checkLeaderboards(resultObj, type) {
|
|||
if (insertResult >= 0) {
|
||||
//update the database here
|
||||
console.log(
|
||||
`leaderboard changed
|
||||
${resultObj.mode}
|
||||
${resultObj.mode2}
|
||||
${type} - ${JSON.stringify(lb.board)}`
|
||||
`leaderboard changed ${resultObj.mode} ${
|
||||
resultObj.mode2
|
||||
} ${type} - ${JSON.stringify(lb.board)}`
|
||||
);
|
||||
admin.firestore().collection("leaderboards").doc(data.docs[0].id).set(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue