From c30d75c0ed17a10c6f1b26de46c50ea098d722a9 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 26 Nov 2023 13:16:30 +0000 Subject: [PATCH] chore: trolling --- lib/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/actions.ts b/lib/actions.ts index 8da25cb..a560b42 100644 --- a/lib/actions.ts +++ b/lib/actions.ts @@ -120,7 +120,7 @@ export async function assignReportToCase(reportId: string, caseId?: string) { await checkPermission("reports/update/case", reportId); const $set = { - case_id: caseId ?? null, + case_id: (caseId ?? null)!, } as ReportDocument; await mongo()