Skip to content

Commit

Permalink
Lagt til midlertidlig SPINN_INNTEKTSMELDING_ID_V2 key
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper-Hustad committed Nov 25, 2024
1 parent 4d9b60b commit dbb040e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
**/build
out
.DS_Store
.kotlin
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ enum class Key(

// ulik formattering
SPINN_INNTEKTSMELDING_ID("spinnInntektsmeldingId"),
SPINN_INNTEKTSMELDING_ID_V2("spinn_inntektsmelding_id"),

;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class ForespoerselBesvartRiver : PriObjectRiver<BesvartMelding>() {
mapOf(
Key.FORESPOERSEL_ID to forespoerselId.toJson(),
Key.SPINN_INNTEKTSMELDING_ID to spinnInntektsmeldingId?.toJson(),
Key.SPINN_INNTEKTSMELDING_ID_V2 to spinnInntektsmeldingId?.toJson(),
).mapValuesNotNull { it }
.toJson(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class ForespoerselBesvartRiverTest :
mapOf(
Key.FORESPOERSEL_ID to forespoerselId.toJson(),
Key.SPINN_INNTEKTSMELDING_ID to spinnInntektsmeldingId.toJson(),
Key.SPINN_INNTEKTSMELDING_ID_V2 to spinnInntektsmeldingId.toJson(),
).toJson(),
)

Expand Down

0 comments on commit dbb040e

Please sign in to comment.