Skip to content

Commit

Permalink
hva skjer2
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieHillRoa committed Sep 25, 2024
1 parent a367949 commit d4c73c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public OppgavehistorikkDTO opprettOppgave(AktorId aktorId, OppgaveDTO oppgaveDto
.setVeilederId(oppgaveDto.getVeilederId())
.setAvsenderenhetId(oppgaveDto.getAvsenderenhetId());

OppgaveId oppgaveId = oppgaveClient.opprettOppgave(oppgave)
OppgaveId oppgaveId = oppgaveClient.opprettOppgave(oppgave).get();
// .orElseThrow(() -> new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR, "Klarte ikke å opprette oppgave"));

oppgavehistorikkRepository.insertOppgaveHistorikk(new OppgavehistorikkDTO(
Expand Down

0 comments on commit d4c73c4

Please sign in to comment.