Skip to content

Commit

Permalink
Deserialiserer saksbehandler 1 isdf 4 ganger
Browse files Browse the repository at this point in the history
  • Loading branch information
tendestad committed Jul 11, 2024
1 parent 062a42e commit 75737ed
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,13 +404,14 @@ class SaksbehandlerRepository(
enhet = null
)
} else {
val saksbehandler = LosObjectMapper.instance.readValue<Saksbehandler>(data)
Saksbehandler(
id = row.long("id"),
brukerIdent = LosObjectMapper.instance.readValue<Saksbehandler>(data).brukerIdent,
navn = LosObjectMapper.instance.readValue<Saksbehandler>(data).navn,
brukerIdent = saksbehandler.brukerIdent,
navn = saksbehandler.navn,
epost = row.string("epost").lowercase(Locale.getDefault()),
reservasjoner = LosObjectMapper.instance.readValue<Saksbehandler>(data).reservasjoner,
enhet = LosObjectMapper.instance.readValue<Saksbehandler>(data).enhet
reservasjoner = saksbehandler.reservasjoner,
enhet = saksbehandler.enhet
)
}
}
Expand Down

0 comments on commit 75737ed

Please sign in to comment.