Skip to content

Commit

Permalink
Update campaignApis.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-egov committed Jun 17, 2024
1 parent 94e0e45 commit 28780a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/project-factory/src/server/api/campaignApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const createBatchRequest = async (request: any, batch: any[], mobileNumberRowNum
includeDeleted: true
};
logger.info("Individual search to validate the mobile no initiated");
const response = await httpRequest(config.host.healthIndividualHost + "health-individual/v1/_search", searchBody, params);
const response = await httpRequest(config.host.healthIndividualHost + config.paths.healthIndividualSearch, searchBody, params);

if (!response) {
throwError("COMMON", 400, "INTERNAL_SERVER_ERROR", "Error occurred during user search while validating mobile number.");
Expand Down

0 comments on commit 28780a6

Please sign in to comment.