Skip to content

Commit

Permalink
Merge pull request #990 from ase-101/1.2.0-rc2
Browse files Browse the repository at this point in the history
MOSIP-16014
  • Loading branch information
gsasikumar authored Sep 2, 2021
2 parents 76e78ad + 8aed4e5 commit 90512cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ private List<MosipUserDto> mapUsersToUserDetailDto(JsonNode node, List<String> u
for(JsonNode jsonNode : node) {
MosipUserDto mosipUserDto = new MosipUserDto();
String username = jsonNode.get("username").textValue();
if (userDetails.stream().anyMatch(user -> user.equals(username))) {
if (userDetails.stream().anyMatch(user -> user.equalsIgnoreCase(username))) {
mosipUserDto.setUserId(username);
mosipUserDto.setMail(jsonNode.hasNonNull("email") ?
jsonNode.get("email").textValue() : null);
Expand Down

0 comments on commit 90512cf

Please sign in to comment.