Skip to content

Commit

Permalink
Fikser codeql quality check feil
Browse files Browse the repository at this point in the history
  • Loading branch information
sneha-d-desai committed Oct 15, 2024
1 parent 313acd6 commit d7c6629
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,9 @@ public TilrettelagtKommunikasjonData hentSpraakTolkInfo(PersonFraPdlRequest pers
return new TilrettelagtKommunikasjonData().setTegnspraak(tegnSpraak).setTalespraak(taleSpraak);
}

public VergeData hentVerge(PersonFraPdlRequest personFraPdlRequest) throws IOException {
public VergeData hentVerge(PersonFraPdlRequest personFraPdlRequest) {
HentPerson.Verge vergeOgFullmaktFraPdl = pdlClient.hentVerge(new PdlRequest(personFraPdlRequest.getFnr(), personFraPdlRequest.getBehandlingsnummer()));
VergeData vergeData = toVerge(vergeOgFullmaktFraPdl);


return vergeData;
return toVerge(vergeOgFullmaktFraPdl);
}

public FullmaktDTO hentFullmakt(PersonRequest personRequest) throws IOException {
Expand Down

0 comments on commit d7c6629

Please sign in to comment.