From 8d44bfd93f2f14f432064275996146341350ce10 Mon Sep 17 00:00:00 2001 From: Paul McPhee Date: Fri, 2 Aug 2024 16:16:14 +0100 Subject: [PATCH] PI-2391: Added sort of court appearances and recal/withdrawn --- .../hmpps/integrations/delius/service/InterventionService.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 )