Unverified Commit ec5af281 authored by Kartheek Palla's avatar Kartheek Palla Committed by GitHub
Browse files

Merge pull request #221 from ahghatol/fix

Issue #SB-000 fix: Tenant list API failing
Showing with 3 additions and 3 deletions
+3 -3
......@@ -966,10 +966,10 @@ function getProgramCountsByOrg(req, response) {
return response.status(200).send(successResponse(rspObj));
}, (error) => {
rspObj.responseCode = responseCode.SERVER_ERROR
rspObj.errCode = programMessages.PROGRAMCOUNTS_BYORG.ORGSEARCH.FAILED_CODE
rspObj.errMsg = programMessages.PROGRAMCOUNTS_BYORG.ORGSEARCH.FAILED_MESSAGE
rspObj.errCode = programMessages.PROGRAMCOUNTS_BYORG.ORGSEARCH_FETCH.FAILED_CODE
rspObj.errMsg = programMessages.PROGRAMCOUNTS_BYORG.ORGSEARCH_FETCH.FAILED_MESSAGE
loggerError('',rspObj,errCode+errorCodes.CODE1);
rspObj.result = err;
rspObj.result = error;
loggerService.exitLog({responseCode: rspObj.responseCode}, logObject);
return response.status(400).send(errorResponse(rspObj,errCode+errorCodes.CODE1));
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment