updated log

This commit is contained in:
Jack 2020-07-04 00:53:29 +01:00
parent 0492d42ead
commit 90377b7906

View file

@ -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(
{