Skip to content

Commit 572c3fc

Browse files
d - Legger til logging av omstilling
Co-authored-by: Mariam Pervez <[email protected]>
1 parent cfdc0d7 commit 572c3fc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/kotlin/no/nav/eessi/pensjon/journalforing/JournalforingService.kt

+5-2
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,11 @@ class JournalforingService(
464464
euxCaseId: String
465465
) : Tema {
466466
return if (gcpStorageService.gjennyFinnes(euxCaseId)) {
467-
val blob = gcpStorageService.hentFraGjenny(euxCaseId,)
468-
if (blob?.contains("BARNEP") == true) EYBARNEP else OMSTILLING
467+
val blob = gcpStorageService.hentFraGjenny(euxCaseId)
468+
if (blob?.contains("BARNEP") == true) EYBARNEP else {
469+
logger.info("$euxCaseId gir tema omstilling")
470+
OMSTILLING
471+
}
469472
} else {
470473
val ufoereAlder = if (fnr != null && !fnr.erNpid) Period.between(fnr.getBirthDate(), LocalDate.now()).years in 19..61 else false
471474
if (saktype == SakType.UFOREP || bucType == P_BUC_03 && saktype == null) UFORETRYGD

0 commit comments

Comments
 (0)