Skip to content

Commit 98759f9

Browse files
Merge pull request #249 from toarunmishra/fix
Fix
2 parents 42b8161 + f89737a commit 98759f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class IdentityBeneficiaryServiceImpl implements IdentityBeneficiaryServic
5252
private InputMapper inputMapper = new InputMapper();
5353
private String identityBaseURL = ConfigProperties.getPropertyByName("identity-api-url");
5454
private String identity1097BaseURL = ConfigProperties.getPropertyByName("identity-1097-api-url");
55-
private static final String IDENTITY_BASE_URL = "https://amritdemo.piramalswasthya.org";
55+
private static final String IDENTITY_BASE_URL = "IDENTITY_BASE_URL";
5656

5757
private static final String BEN_GEN = ConfigProperties.getPropertyByName("genben-api");
5858
private static final String BEN_GEN_API_URL = ConfigProperties.getPropertyByName("generateBeneficiaryIDs-api-url");
@@ -81,7 +81,7 @@ public List<BeneficiariesDTO> getBeneficiaryListByIDs(HashSet benIdList, String
8181

8282

8383
result = httpUtils.post(ConfigProperties.getPropertyByName("identity-api-url-getByBenRegIdList").replace(
84-
IDENTITY_BASE_URL, (is1097 ? identity1097BaseURL : "https://amritdemo.piramalswasthya.org")), benIdList.toString(), header);
84+
IDENTITY_BASE_URL, (is1097 ? identity1097BaseURL : identityBaseURL)), benIdList.toString(), header);
8585
OutputResponse identityResponse = inputMapper.gson().fromJson(result, OutputResponse.class);
8686
if (identityResponse != null && identityResponse.getStatusCode() == OutputResponse.USERID_FAILURE) {
8787
throw new IEMRException(identityResponse.getErrorMessage());

0 commit comments

Comments
 (0)