From a6857dfd6219966137ca17656b95d52110c496eb Mon Sep 17 00:00:00 2001 From: karthik-tarento Date: Wed, 14 Feb 2024 09:25:47 +0530 Subject: [PATCH] Adding batch details for all the courses --- .../org/sunbird/enrolments/CourseEnrolmentActor.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/CourseEnrolmentActor.scala b/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/CourseEnrolmentActor.scala index cd0c67884..5a43817ac 100644 --- a/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/CourseEnrolmentActor.scala +++ b/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/CourseEnrolmentActor.scala @@ -477,10 +477,10 @@ class CourseEnrolmentActor @Inject()(@Named("course-batch-notification-actor") c } } val updatedEnrolmentList = updateProgressData(allEnrolledCourses, userId, allCourseIds, request.getRequestContext) - if ("v2".equals(version)) - addBatchDetails_v2(updatedEnrolmentList, request) - else - addBatchDetails(updatedEnrolmentList, request) + //if ("v2".equals(version)) + // addBatchDetails_v2(updatedEnrolmentList, request) + //else + addBatchDetails(updatedEnrolmentList, request) } else new java.util.ArrayList[java.util.Map[String, AnyRef]]() }