diff --git a/service/src/main/kotlin/fi/espoo/evaka/serviceneed/application/ServiceApplicationController.kt b/service/src/main/kotlin/fi/espoo/evaka/serviceneed/application/ServiceApplicationController.kt index 3685c87e848..26b0ed92e50 100644 --- a/service/src/main/kotlin/fi/espoo/evaka/serviceneed/application/ServiceApplicationController.kt +++ b/service/src/main/kotlin/fi/espoo/evaka/serviceneed/application/ServiceApplicationController.kt @@ -187,6 +187,8 @@ class ServiceApplicationController( useFiveYearsOldDaycare = featureConfig.fiveYearsOldDaycareEnabled, placeGuarantee = false, + now = clock.now(), + userId = user.evakaUserId ) .also { tx.deleteFutureReservationsAndAbsencesOutsideValidPlacements(