Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieHillRoa committed Oct 11, 2023
1 parent 755e7c3 commit 44f45ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public ResponseEntity<String> registrering(@RequestParam(value = "fnr") Fnr fnr)

@PostMapping("/registrering/endringer")
public ResponseEntity<String> endringIRegistreringdata(@RequestBody PersonRequestBody personRequestBody) {
Fnr fnr = Fnr.of(personRequestBody.fodselsnummer());
Fnr fnr = personRequestBody.fnr();
authService.stoppHvisEksternBruker();
authService.sjekkLesetilgang(fnr);
return registreringService.hentEndringIRegistreringsdata(fnr);
Expand Down

0 comments on commit 44f45ad

Please sign in to comment.