Skip to content

Commit

Permalink
logg orgnr som kaller vedtak
Browse files Browse the repository at this point in the history
  • Loading branch information
sebassonav committed Dec 4, 2024
1 parent 0d41e33 commit 31dd686
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class VedtaksvurderingKlient(
.get {
url("$vedtaksvurderingUrl/$vedtakId")
if (callerContext is MaskinportenTpContext) {
header("orgnr", callerContext.organisasjonsnr)
header("orgnr", callerContext.organisasjonsnr).also { logger.info("Henter vedtaksliste med orgnr $it") }
}
}.body()
} catch (e: ClientRequestException) {
Expand Down Expand Up @@ -67,7 +67,7 @@ class VedtaksvurderingKlient(
parameter("sakstype", sakType)
parameter("fomDato", fomDato)
if (callerContext is MaskinportenTpContext) {
header("orgnr", callerContext.organisasjonsnr)
header("orgnr", callerContext.organisasjonsnr).also { logger.info("Henter vedtaksliste med orgnr $it") }
}
setBody(FoedselsnummerDTO(fnr))
}.body()
Expand Down

0 comments on commit 31dd686

Please sign in to comment.