Skip to content

Commit 084ee64

Browse files
committed
filterer ut vedtak med status INAKT
1 parent e104662 commit 084ee64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/main/api/Routes.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private suspend fun hentMedium(
252252
samordningsId = it.samordningsId,
253253
opphorsAarsak = it.opphorsAarsak
254254
)
255-
}
255+
}.filter { it.status != "INAKT" }
256256
)
257257
}.onFailure { ex ->
258258
prometheus.httpFailedCallCounter(consumerTag, call.request.path()).increment()
@@ -350,7 +350,7 @@ private suspend fun hentMaksimum(
350350
)
351351
},
352352
)
353-
})
353+
}.filter { it.status != "INAKT" })
354354
}.onFailure { ex ->
355355
prometheus.httpFailedCallCounter(consumerTag, call.request.path()).increment()
356356
logger.error("Klarte ikke hente vedtak fra intern API", ex)

0 commit comments

Comments
 (0)