From d6f9b8bbd54fd81e61c61746abb154ab4dc323b0 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Mon, 22 Apr 2024 23:02:38 -0400 Subject: [PATCH] Restore open property in report kv --- functions/api/reports/submit.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/api/reports/submit.ts b/functions/api/reports/submit.ts index 13848da..01ffdcf 100644 --- a/functions/api/reports/submit.ts +++ b/functions/api/reports/submit.ts @@ -202,6 +202,7 @@ export async function onRequestPost(context: RequestContext) { created_at: Date.now(), fcm_token: typeof senderTokenId === "string" ? senderTokenId : undefined, id: reportId, + open: true, user: currentUser ? { email: currentUser.email,