Skip to content

Commit

Permalink
D - Mer logging for landkode
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Aug 22, 2024
1 parent 22cdce7 commit 72a600f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class LandkodeController(private val kodeverkClient: KodeverkClient, private val

@GetMapping("/")
fun getLandKoder(): String {
logger.info("Henter landkoder, default")
return kodeverkClient.hentAlleLandkoder()
}

Expand All @@ -38,8 +39,7 @@ class LandkodeController(private val kodeverkClient: KodeverkClient, private val
}

@GetMapping("/rina")
fun landkoderAkseptertAvRina(
@RequestParam(required = false) format: String?): String? {
fun landkoderAkseptertAvRina(@RequestParam(required = false) format: String?): String? {
logger.info("Henter landkode for rina, format: $format")
return kodeverkService.getLandkoderAkseptertAvRina(format)
}
Expand Down

0 comments on commit 72a600f

Please sign in to comment.