Skip to content

Commit ec49100

Browse files
committed
Endr incidentStatus til serviceforespoerselstatus
1 parent 24ccce8 commit ec49100

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/kotlin/no/nav/hjelpemidler/Application.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ fun main() {
7575
}
7676

7777
if (ordrelinje!!.serviceforespoerseltype != "Vedtak Infotrygd") {
78-
log.info("Mottok melding fra oebs av incidentType: ${ordrelinje.serviceforespoerseltype}. Avbryter prosesseringen og returnerer")
78+
log.info("Mottok melding fra oebs med sf-type ${ordrelinje.serviceforespoerseltype} og sf-status ${ordrelinje.serviceforespoerselstatus}. " +
79+
"Avbryter prosesseringen og returnerer")
7980
call.respond(HttpStatusCode.OK)
8081
return@post
8182
}
@@ -124,7 +125,7 @@ data class Statusinfo(
124125
@Json(name = "IncidentNummer")
125126
val serviceforespoersel: Int,
126127
@Json(name = "IncidentStatus")
127-
val incidentStatus: String,
128+
val serviceforespoerselstatus: String,
128129
@Json(name = "IncidentType")
129130
val serviceforespoerseltype: String,
130131
@Json(name = "IncidentSoknadType")

0 commit comments

Comments
 (0)