Skip to content

Commit

Permalink
Merge pull request #7 from sunbird-cb/4.8.11-ContentFix
Browse files Browse the repository at this point in the history
4.8.11 content fix
  • Loading branch information
karthik-tarento authored Feb 22, 2024
2 parents 4b9728c + 124f0e4 commit 61f4914
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion src/config/contentProviderApiConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/libs
2 changes: 1 addition & 1 deletion src/service/contentService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61f4914

Please sign in to comment.