Skip to content

Commit

Permalink
Merge pull request #176 from sreeragksgh/cbrelease-4.8.0
Browse files Browse the repository at this point in the history
Fix for NIC ORG list issue
  • Loading branch information
somvitbhowmik authored Mar 3, 2023
2 parents 8c0a6d1 + 17ad6d6 commit 496b67e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public SBApiResponse orgExtSearch(Map<String, Object> request) throws Exception
if (CollectionUtils.isNotEmpty(existingDataList)) {
List<String> orgIdList = existingDataList.stream().filter(item -> !ObjectUtils.isEmpty(item))
.map(item -> {
return (String) item.get(Constants.SB_ROOT_ORG_ID.toLowerCase());
return (String) item.get(Constants.SB_ORG_ID);
}).collect(Collectors.toList());
SBApiOrgSearchRequest orgSearchRequest = new SBApiOrgSearchRequest();
orgSearchRequest.getFilters().setId(orgIdList);
Expand Down

0 comments on commit 496b67e

Please sign in to comment.