Skip to content

Commit

Permalink
fix(j-s): Police case number in robot e-mail (#17218)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
unakb and kodiakhq[bot] authored Dec 12, 2024
1 parent 4241fe5 commit 920eb26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 920eb26

Please sign in to comment.