From 975330fd518682401255dc6e8f4411562c5636ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skarp=C3=A5s?= Date: Mon, 19 Aug 2024 08:10:30 +0200 Subject: [PATCH] F - Begrenser direkte sending til kun pbuc06 --- .../no/nav/eessi/pensjon/journalforing/JournalforingService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt b/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt index 969cc1b3..4ee0719b 100644 --- a/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt +++ b/src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt @@ -187,7 +187,7 @@ class JournalforingService( ) if(journalpostRequest.bruker == null){ - if(sedHendelse.bucType in listOf(R_BUC_02 , P_BUC_06 ,P_BUC_09)) { + if(sedHendelse.bucType in listOf(P_BUC_06)) { journalpostService.sendJournalPost(JournalpostMedSedInfo(journalpostRequest, sedHendelse, hendelseType), "eessipensjon") logger.warn("Journalpost for ${sedHendelse.sedType}, for buc: ${sedHendelse.bucType} sendes direkte for rinaid: ${sedHendelse.rinaSakId}") }