From a996f62cac81b13dffacb9aeb5a71230b68dd2a7 Mon Sep 17 00:00:00 2001 From: unakb Date: Thu, 12 Dec 2024 13:40:41 +0000 Subject: [PATCH] Update court.service.ts --- .../backend/src/app/modules/court/court.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/judicial-system/backend/src/app/modules/court/court.service.ts b/apps/judicial-system/backend/src/app/modules/court/court.service.ts index df13b35a90be..33f9c74c7c83 100644 --- a/apps/judicial-system/backend/src/app/modules/court/court.service.ts +++ b/apps/judicial-system/backend/src/app/modules/court/court.service.ts @@ -577,12 +577,12 @@ export class CourtService { try { const subject = `${courtName} - ${courtCaseNumber} - upplýsingar` - const sanitizedPoliceCaseNumber = policeCaseNumber?.replace(/-/g, '') + policeCaseNumber = policeCaseNumber?.replace(/-/g, '') const content = JSON.stringify({ receivedByCourtDate, indictmentDate, - sanitizedPoliceCaseNumber, + policeCaseNumber, subtypes, defendants, prosecutor,