Skip to content

Commit

Permalink
[SELC-4846] Fix for change requests
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminiaScarciofolo committed May 31, 2024
1 parent 4502d1a commit 631a785
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ public List<String> retrieveFilteredUserInstitution(String institutionId, UserIn
null,
List.of(userInfoFilter.getProductId()),
null,
userInfoFilter.getAllowedStates().stream().map(Enum::name).toList(),
Optional.ofNullable(userInfoFilter.getAllowedStates())
.map(relationshipStates -> relationshipStates.stream().map(Enum::name).toList())
.orElse(null),
loggedUserId)
.getBody()).map(userInstitutionResponses -> userInstitutionResponses.stream()
.map(UserInstitutionResponse::getUserId).toList())
Expand Down

0 comments on commit 631a785

Please sign in to comment.