diff --git a/.gitmodules b/.gitmodules index 235d3812..e4c68ec5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "src/libs"] path = src/libs - url = https://github.com/project-sunbird/sunbird-js-utils + url = https://github.com/sunbird-cb/sunbird-js-utils diff --git a/src/config/contentProviderApiConfig.json b/src/config/contentProviderApiConfig.json index 7e785d0c..1d07ec80 100644 --- a/src/config/contentProviderApiConfig.json +++ b/src/config/contentProviderApiConfig.json @@ -2,7 +2,8 @@ "API": { "CREATE_CONTENT_URI": "/content/v3/create", "SEARCH_CONTENT_URI": "/content/v3/search", - "SEARCH_URI": "/v4/search", + "SEARCH_URI": "/v3/search", + "SEARCH_URI_V4": "/v4/search", "UPDATE_CONTENT_URI": "/content/v3/update", "GET_CONTENT_URI": "/content/v3/read", "REVIEW_CONTENT_URI": "/content/v3/review", diff --git a/src/libs b/src/libs index b0580d51..6df14e66 160000 --- a/src/libs +++ b/src/libs @@ -1 +1 @@ -Subproject commit b0580d51839a64f96addd9036f4209afef6e4215 +Subproject commit 6df14e662e7d814c1a2973f0945433b4bf3961aa diff --git a/src/service/contentService.js b/src/service/contentService.js index fea24e7a..9dd0170e 100644 --- a/src/service/contentService.js +++ b/src/service/contentService.js @@ -965,7 +965,7 @@ function retireContentAPI (req, response) { } } } - contentProvider.compositeSearch(ekStepReqData, req.headers, function (err, res) { + contentProvider.compositeSearchV4(ekStepReqData, req.headers, function (err, res) { if (err || res.responseCode !== responseCode.SUCCESS) { rspObj.errCode = res && res.params ? res.params.err : contentMessage.SEARCH.FAILED_CODE rspObj.errMsg = res && res.params ? res.params.errmsg : contentMessage.SEARCH.FAILED_MESSAGE