Skip to content

Commit

Permalink
Small hack for harTilgangTilArkivvariant in event.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexable777 committed Jan 16, 2024
1 parent d954a57 commit e568a45
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ class FerdigstillDokumentService(
),
timestamp = updatedDokument.ferdigstilt!!,
id = updatedDokument.id.toString(),
journalpostList = dokumentReferanseList,
journalpostList = dokumentReferanseList.map {
//small hack for now, until we fetch data from SAF on consumer side of event.
it.copy(harTilgangTilArkivvariant = true)
},
)
),
behandlingId = updatedDokument.behandlingId,
Expand Down

0 comments on commit e568a45

Please sign in to comment.