diff --git a/lib/api_handler.dart b/lib/api_handler.dart index 4e9e5cd..323ac81 100644 --- a/lib/api_handler.dart +++ b/lib/api_handler.dart @@ -125,7 +125,7 @@ class ApiHandler { }) async { String urlPath = '/api/fahrinfo/latest/multiDepartureBoard'; String stationListString = stationList - .reduce((value, element) => value + '|' + element) + .reduce((value, element) => '$value|$element') .replaceAll(' ', '%20'); // reform for URL Uri url = Uri.https(baseUrl, urlPath, {