Skip to content

Commit

Permalink
prøver på nytt å hente data fra kelvin
Browse files Browse the repository at this point in the history
  • Loading branch information
VHollund committed Feb 12, 2025
1 parent 80d7159 commit 3200df7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/main/api/Routes.kt
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ fun NormalOpenAPIRoute.api(
logger.info("CallID ble ikke gitt på kall mot: /sakerByFnr")
}

val kelvinSaker = emptyList<SakStatus>() /* if (Miljø.er()==MiljøKode.DEV) {
val kelvinSaker = if (Miljø.er()==MiljøKode.DEV) {
kelvin.hentSakerByFnr(requestBody)
} else {
emptyList()
}
*/


respond(arena.hentSakerByFnr(callId, requestBody)+kelvinSaker)
}
Expand All @@ -131,12 +131,12 @@ fun NormalOpenAPIRoute.api(
logger.info("CallID ble ikke gitt på kall mot: /maksimum")
}

val kelvinSaker:List<Vedtak> = emptyList()/*if (Miljø.er()==MiljøKode.DEV) {
val kelvinSaker:List<Vedtak> = if (Miljø.er()==MiljøKode.DEV) {
kelvin.hentMaksimum(requestBody)
} else {
emptyList()
}
*/

respond(api.maksimum.Maksimum(arena.hentMaksimum(callId, requestBody).fraKontrakt().vedtak+kelvinSaker))
}
}
Expand Down

0 comments on commit 3200df7

Please sign in to comment.