From 92aef0fda85d0a3dc0fb56480af3593675a7ede9 Mon Sep 17 00:00:00 2001 From: Eckerman Date: Thu, 24 Oct 2024 15:52:05 -0700 Subject: [PATCH] change merge direction --- .../api/pen/services/service/events/EventHandlerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/pen/services/service/events/EventHandlerService.java b/api/src/main/java/ca/bc/gov/educ/api/pen/services/service/events/EventHandlerService.java index bedbd06..a3705ea 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/pen/services/service/events/EventHandlerService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/pen/services/service/events/EventHandlerService.java @@ -264,7 +264,7 @@ public byte[] handleGetMergeInDateRangeEvent(@NonNull final Event event) throws } } - final List mergeEntities = this.getStudentMergeService().findStudentMerges(createDateStart, createDateEnd, StudentMergeDirectionCodes.FROM.getCode()); + final List mergeEntities = this.getStudentMergeService().findStudentMerges(String.valueOf(createDateStart), String.valueOf(createDateEnd), StudentMergeDirectionCodes.TO.getCode()); final Event newEvent = Event.builder() .sagaId(event.getSagaId())