From 0728af04161d69c8fe1e2bae0314520bd70c44ae Mon Sep 17 00:00:00 2001 From: Anthony Britton <105213050+anthony-britton-moj@users.noreply.github.com> Date: Tue, 7 May 2024 12:15:23 +0100 Subject: [PATCH] PI-2047 (#3721) --- .../digital/hmpps/integrations/delius/ContactService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/ContactService.kt b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/ContactService.kt index 00412699c..87f36b1e3 100644 --- a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/ContactService.kt +++ b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/ContactService.kt @@ -47,8 +47,8 @@ class ContactService( event.eventDetails.noteText ).joinToString(System.lineSeparator()) } - existing.date = event.timestamp.toLocalDate() - existing.startTime = event.timestamp + existing.date = event.occurredAt().toLocalDate() + existing.startTime = event.occurredAt() contactRepository.save(existing) } else { telemetryService.trackEvent(