From a3da8a7c3c217da252df1daef3b2baa18a6ba5b2 Mon Sep 17 00:00:00 2001 From: Pico2x Date: Mon, 12 Sep 2022 22:01:37 +0100 Subject: [PATCH] Make update-metrics actually write cached group leaderboards --- functions/src/update-metrics.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/src/update-metrics.ts b/functions/src/update-metrics.ts index 99c8df96..1de8056c 100644 --- a/functions/src/update-metrics.ts +++ b/functions/src/update-metrics.ts @@ -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) }