Skip to content

Commit

Permalink
Fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 30, 2024
1 parent 2ed2380 commit 5039d89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public Collection<Area> getAllAreas() {
@Override
public Collection<LocationGroupElement> getAllLocationGroupElements() {
Collection<LocationGroup> groups = _ops.find("FROM LocationGroup");
return groups.stream().flatMap(group -> group.getLocations().stream().map(stopLocation -> {
return groups.stream().flatMap(group -> group.getStops().stream().map(stopLocation -> {
LocationGroupElement locationGroupElement = new LocationGroupElement();
locationGroupElement.setLocationGroupId(group.getId());
locationGroupElement.setName(group.getName());
Expand Down

0 comments on commit 5039d89

Please sign in to comment.