Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Ensure paginated speakers are loaded correctly. (#14)
Browse files Browse the repository at this point in the history
The speakers endpoint produces paginated responses.
  • Loading branch information
mklaehn authored Sep 18, 2023
1 parent 5a07354 commit 2ffbb53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public List<ScheduleSlot> getSchedule(final String conferenceDay, final String r

@Override
public List<Speaker> getSpeakers() {
return RestCallHelper.readOptionalFrom(config.getEventBaseUri() + "speakers", listOfMaps())
return RestCallHelper.readOptionalFrom(config.getEventBaseUri() + "speakers", listOfMaps(), (a, b) -> {a.addAll(b); return a;})
.orElse(List.of())
.stream()
.map(this::convertSpeaker)
Expand Down

0 comments on commit 2ffbb53

Please sign in to comment.