JavaScript client for HAFAS public transport APIs.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
yu-re-ka opened this issue 3 years ago · comments
journeys() returns a realtimeDataFrom, but refreshJourney() does not, even though the data is in the raw response
journeys()
realtimeDataFrom
refreshJourney()
PR welcome!
Let's just expose it as journey.realtimeDataFrom for now, and change refreshJourney()'s return value to an object {journey, realtimeDataFrom} with the next major release (#86).
journey.realtimeDataFrom
{journey, realtimeDataFrom}