Skip to content

Commit

Permalink
FIks for kunne se behandlingen.
Browse files Browse the repository at this point in the history
  • Loading branch information
geiralund committed Jan 6, 2025
1 parent 26ee280 commit 29f76c8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ private fun vedtakFastsattDTO(
},
)
},
opplysninger.finnOpplysning(grunnlagForVernepliktErGunstigst).takeIf { it.verdi }?.let {
runCatching { opplysninger.finnOpplysning(grunnlagForVernepliktErGunstigst) }
.getOrNull()
.takeIf { it?.verdi == true }
?.let {
KvoteDTO(
"Verneplikt",
KvoteDTO.Type.uker,
Expand Down

0 comments on commit 29f76c8

Please sign in to comment.