Make update-metrics actually write cached group leaderboards

This commit is contained in:
Pico2x 2022-09-12 22:01:37 +01:00
parent 2a96ee98f4
commit a3da8a7c3c

View File

@ -210,9 +210,7 @@ export async function updateMetricsCore() {
},
}
})
// Shipping without this for now to check it's working as intended
console.log('Group Leaderboard Updates', groupUpdates)
//await writeAsync(firestore, groupUpdates)
await writeAsync(firestore, groupUpdates)
} catch (e) {
console.log('Error While Updating Group Leaderboards', e)
}