From 05481c2790d7d4faba01912dcf6bd7739c3186c1 Mon Sep 17 00:00:00 2001 From: sansan88 Date: Tue, 13 Aug 2024 14:17:47 +0200 Subject: [PATCH] fix id --- functions/src/scheduler/utils/update.swissunihockey.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/scheduler/utils/update.swissunihockey.ts b/functions/src/scheduler/utils/update.swissunihockey.ts index 288c259..3a05bc9 100644 --- a/functions/src/scheduler/utils/update.swissunihockey.ts +++ b/functions/src/scheduler/utils/update.swissunihockey.ts @@ -229,7 +229,7 @@ export async function updateGamesSwissunihockey(): Promise { // Update status console.log("Update status for firestore saved game: " + gameDoc.id + " reading gameDoc id: " + gameDoc.data().externalId); await db.collection("teams").doc(`su-${team.id}`).collection("games").doc(gameDoc.id).set({ - status: "deleted", + gameStatus: "deleted", }, { merge: true, });