diff --git a/projects/court-case-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/service/InterventionService.kt b/projects/court-case-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/service/InterventionService.kt index fac61e3ffe..662f4322f6 100644 --- a/projects/court-case-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/service/InterventionService.kt +++ b/projects/court-case-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/service/InterventionService.kt @@ -82,8 +82,7 @@ fun NsiEntity.toOutcomeRecall(): Boolean? = OutcomeType.valueOf(it.code) } catch (ex: Exception) { OutcomeType.UNKNOWN - } - .isOutcomeRecall + }.isOutcomeRecall }.orElse( null )