Skip to content

Commit

Permalink
Fjerne runblocking på oppslag
Browse files Browse the repository at this point in the history
  • Loading branch information
boerta committed Jan 19, 2024
1 parent 4e5c6d5 commit f8af664
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ class OppgaveKoTjeneste(
continue
}

val person = runBlocking {
pdlService.person(oppgave.hentVerdi("aktorId")!!)
}.person!!
val person = pdlService.person(oppgave.hentVerdi("aktorId")!!).person!!

oppgaver.add(GenerellOppgaveV3Dto(oppgave, person))
if (oppgaver.size >= ønsketAntallSaker) {
Expand Down

0 comments on commit f8af664

Please sign in to comment.