forked from administration/panel
chore: trolling
parent
8113a86db9
commit
c30d75c0ed
|
@ -120,7 +120,7 @@ export async function assignReportToCase(reportId: string, caseId?: string) {
|
||||||
await checkPermission("reports/update/case", reportId);
|
await checkPermission("reports/update/case", reportId);
|
||||||
|
|
||||||
const $set = {
|
const $set = {
|
||||||
case_id: caseId ?? null,
|
case_id: (caseId ?? null)!,
|
||||||
} as ReportDocument;
|
} as ReportDocument;
|
||||||
|
|
||||||
await mongo()
|
await mongo()
|
||||||
|
|
Loading…
Reference in New Issue