Skip to content

Commit

Permalink
Hent RTF dokument
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 committed Jul 11, 2024
1 parent 4176531 commit 0160dff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/no/nav/bidrag/dokument/service/DokumentService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ class DokumentService(
journalpostId = dokument.journalpostId,
dokumentId = dokument.dokumentreferanse,
kilde =
when (dokument.arkivsystem) {
DokumentArkivSystemDto.MIDLERTIDLIG_BREVLAGER -> Kilde.MIDLERTIDLIG_BREVLAGER
DokumentArkivSystemDto.JOARK -> Kilde.JOARK
DokumentArkivSystemDto.BIDRAG -> Kilde.FORSENDELSE
else -> null
},
when (dokument.arkivsystem) {
DokumentArkivSystemDto.MIDLERTIDLIG_BREVLAGER -> Kilde.MIDLERTIDLIG_BREVLAGER
DokumentArkivSystemDto.JOARK -> Kilde.JOARK
DokumentArkivSystemDto.BIDRAG -> Kilde.FORSENDELSE
else -> null
},
)
}

Expand Down

0 comments on commit 0160dff

Please sign in to comment.