Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rttapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def search_station_arrivals(self, station_code: str) -> SearchResult:

:return: A rttapi.model.SearchResult object mirroring the JSON reply
"""
json = self.__api.fetch_station_departure_info(self.credentials, station_code)
json = self.__api.fetch_station_arrival_info(self.credentials, station_code)
return parser.parse_search(json)

def fetch_service_info_datetime(self, service_uid: str, service_date: datetime.date) -> Service:
Expand Down