Skip to content

Commit

Permalink
endrer rekkefølge på validering
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Mar 13, 2024
1 parent fefadad commit af8b556
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class VedtaksperiodeTilGodkjenningRiver(
init {
River(rapidApplication).apply {
validate {
it.demandAll("@behov", listOf("Godkjenning"))
it.requireKey("@behovId", "@opprettet")
it.interestedIn("vedtaksperiodeId")
it.demandAll("@behov", listOf("Godkjenning"))
it.forbid("@løsning")
it.forbid("@final")
}
Expand Down

0 comments on commit af8b556

Please sign in to comment.