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,