Skip to content

Commit

Permalink
TilgangOrgService: Les fra beriket melding (#411)
Browse files Browse the repository at this point in the history
TilgangService: Les fra beriket melding
  • Loading branch information
bjerga authored Feb 2, 2024
1 parent 09df10c commit b022a72
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ class TilgangOrgService(
Log.clientId(clientId),
Log.transaksjonId(transaksjonId)
) {
val tilgang = RedisKey.of(transaksjonId, Key.TILGANG).read()
val tilgang = Key.TILGANG.les(Tilgang.serializer(), melding)
val feil = RedisKey.of(transaksjonId, Feilmelding("")).read()

val tilgangJson = TilgangData(
tilgang = tilgang?.fromJson(Tilgang.serializer()),
tilgang = tilgang,
feil = feil?.fromJson(FeilReport.serializer())
)
.toJson(TilgangData.serializer())
Expand Down

0 comments on commit b022a72

Please sign in to comment.