Skip to content

Commit

Permalink
TC-490 Legg til deprecated-annotasjon
Browse files Browse the repository at this point in the history
  • Loading branch information
slovrid committed Oct 30, 2023
1 parent 7e715a4 commit 1aef812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class EnheterController {
private final EnheterService enheterService;
private final AuthService authService;

@Deprecated
@GetMapping
public List<OppfolgingEnhet> hentEnheter(@RequestParam("fnr") Fnr fnr, @RequestParam("tema") String tema) {
AktorId aktorid = authService.getAktorIdOrThrow(fnr);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class OppgavehistorikkController {
private final AuthService authService;
private final OppgavehistorikkService oppgavehistorikkService;

@Deprecated
@GetMapping
public List<Oppgavehistorikk> getOppgavehistorikk(@RequestParam("fnr") Fnr fnr) {
AktorId aktorId = authService.getAktorIdOrThrow(fnr);
Expand Down

0 comments on commit 1aef812

Please sign in to comment.