Skip to content

Commit

Permalink
Only use one requestmapper for OppfolgingsplanInternControllerV1 (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
AudunSorheim authored Aug 13, 2024
1 parent 91fef8c commit 7e4a4cd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class OppfolgingsplanInternControllerV1(
return eregClient.virksomhetsnavn(oppfolgingsplan.virksomhet.virksomhetsnummer)
}

@GetMapping(produces = [MediaType.APPLICATION_JSON_VALUE])
@RequestMapping(value = ["/historikk"])
@GetMapping(value = ["/historikk"], produces = [MediaType.APPLICATION_JSON_VALUE])
fun getHistorikk(@RequestHeader(name = NAV_PERSONIDENT_HEADER) personident: String): List<Historikk> {
val personFnr = Fodselsnummer(personident)

Expand Down

0 comments on commit 7e4a4cd

Please sign in to comment.