From 01924cb63b807863cddd7d26d4aea4222884f1cf Mon Sep 17 00:00:00 2001 From: Lentumunai-Mark Date: Thu, 12 Sep 2024 13:32:10 +0300 Subject: [PATCH] Replace old fucntion name with new function name. Signed-off-by: Lentumunai-Mark --- .../fhircore/engine/task/FhirResourceExpireWorker.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/engine/src/main/java/org/smartregister/fhircore/engine/task/FhirResourceExpireWorker.kt b/android/engine/src/main/java/org/smartregister/fhircore/engine/task/FhirResourceExpireWorker.kt index c7b4f290e7..50c24a5582 100644 --- a/android/engine/src/main/java/org/smartregister/fhircore/engine/task/FhirResourceExpireWorker.kt +++ b/android/engine/src/main/java/org/smartregister/fhircore/engine/task/FhirResourceExpireWorker.kt @@ -41,10 +41,10 @@ constructor( override suspend fun doWork(): Result { return withContext(dispatcherProvider.io()) { fhirResourceUtil.run { - expireOverdueTasks() - closeResourcesRelatedToCompletedServiceRequests() - closeCustomResources() - } + expireOverdueTasks() + closeResourcesRelatedToCompletedServiceRequests() + closeFhirResources() + } Result.success() } }