Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Sep 27, 2023
1 parent e014a70 commit ea5341b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public void removeUserFromClientProjects() {
public List<String> getClientProjects() {
if (Objects.nonNull(this.removeClientId)) {
return this.userObject.getProjects().stream()
.filter(p -> p.getClient().getId().equals(this.removeClientId))
.filter(project -> project.getClient().getId().equals(this.removeClientId))
.map(Project::getTitle).collect(Collectors.toList());
} else {
return Collections.emptyList();
Expand Down

0 comments on commit ea5341b

Please sign in to comment.