Skip to content

Commit 0ff2a2a

Browse files
committed
KB-11969: BE | DEV | External Course Enable the dynamic certificate Generation
1 parent ea184fa commit 0ff2a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

all-actors/src/main/java/org/sunbird/cert/helper/IssueCertificateContentHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public Map<String, Object> getCourseInfo(String courseId) throws UnirestExceptio
373373

374374
String courseMetadataString = contentCache.get(courseId, null, 0);
375375
if (StringUtils.isBlank(courseMetadataString)) {
376-
String url = PropertiesCache.getInstance().getProperty("content_basePath") + PropertiesCache.getInstance().getProperty("content_read_api") + "/" + courseId + "?fields=name,parentCollections,primaryCategory,posterImage,organisation,languageMapV1";
376+
String url = PropertiesCache.getInstance().getProperty("content_basePath") + PropertiesCache.getInstance().getProperty("content_read_api") + "/" + courseId + "?fields=name,parentCollections,primaryCategory,posterImage,organisation,contentType,languageMapV1";
377377

378378
Map<String, Object> responseObject = getAPICall(url);
379379
Map<String, Object> resultObject = (Map<String, Object>) responseObject.get(JsonKeys.RESULT);

0 commit comments

Comments
 (0)