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 00412699cd..87f36b1e3f 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(