From 301689b45c018960de38641e6b4d96b5e4516357 Mon Sep 17 00:00:00 2001 From: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com> Date: Fri, 6 May 2022 12:15:05 +0530 Subject: [PATCH] Fix for compile issue --- .../scala/org/sunbird/enrolments/ContentConsumptionActor.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/ContentConsumptionActor.scala b/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/ContentConsumptionActor.scala index b55402541..30e4586a3 100644 --- a/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/ContentConsumptionActor.scala +++ b/course-mw/enrolment-actor/src/main/scala/org/sunbird/enrolments/ContentConsumptionActor.scala @@ -244,7 +244,7 @@ class ContentConsumptionActor @Inject() extends BaseEnrolmentActor { if(CollectionUtils.isNotEmpty(contentIds)) put("contentid", contentIds) }} - val response = cassandraOperation.getRecords(requestContext, consumptionDBInfo.getKeySpace, consumptionDBInfo.getTableName, filters) + val response = cassandraOperation.getRecords(requestContext, consumptionDBInfo.getKeySpace, consumptionDBInfo.getTableName, filters, null) response.getResult.getOrDefault(JsonKey.RESPONSE, new java.util.ArrayList[java.util.Map[String, AnyRef]]).asInstanceOf[java.util.List[java.util.Map[String, AnyRef]]] }