Skip to content

Commit

Permalink
🐛 Fjerner krav om @Final key
Browse files Browse the repository at this point in the history
Co-authored-by: Øyvind Hagen <[email protected]>
  • Loading branch information
MartinMekk and oyvindhagen committed Aug 22, 2024
1 parent d69ff17 commit 4f2f446
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ internal class Fullmaktløsning(
override fun validations() =
River.PacketValidation {
it.demandValue("@event_name", "behov")
it.demandValue("@final", true)
it.demandAll("@behov", listOf("Fullmakt"))
it.demandKey("contextId")
it.demandKey("hendelseId")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ internal object Testmeldingfabrikk {
id = UUID.randomUUID(), "behov",
mapOf(
"fødselsnummer" to fødselsnummer,
"@final" to true,
"@behov" to listOf("Fullmakt"),
"contextId" to "${UUID.randomUUID()}",
"hendelseId" to "${UUID.randomUUID()}",
Expand All @@ -121,7 +120,6 @@ internal object Testmeldingfabrikk {
id = UUID.randomUUID(), "behov",
mapOf(
"fødselsnummer" to fødselsnummer,
"@final" to true,
"@behov" to listOf("Fullmakt"),
"contextId" to "${UUID.randomUUID()}",
"hendelseId" to "${UUID.randomUUID()}",
Expand Down

0 comments on commit 4f2f446

Please sign in to comment.