Skip to content

Commit

Permalink
Merge pull request #208 from navikt/hendelsestype_utnytting_av_variabel
Browse files Browse the repository at this point in the history
tatt i bruk hendelsestype variabel i felt som kalla samme metode
  • Loading branch information
jaflaten authored Sep 18, 2023
2 parents 06c0766 + 9f83236 commit 8de0538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/syfo/service/BehandlingService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class BehandlingService(
fields(loggingMeta),
)

if (journalfoeringEvent.hendelsesType.toString() == "TemaEndret") {
if (hendelsesType == "TemaEndret") {
ENDRET_PAPIRSM_MOTTATT.inc()
log.info("Mottatt endret journalpost {}", fields(loggingMeta))
}
Expand Down

0 comments on commit 8de0538

Please sign in to comment.