Closed bcspragu closed 9 years ago
Since departure_data is always a one-element array containing RouteDirections as far as we're concerned, we can set it to a default value of {RouteDirections: []} if we don't find that, and our code will function as if there are no trips.
That'll do it. Looks good. I'd suggest leaving the issue open until we have a definitive answer from Avail
:+1:
Since departure_data is always a one-element array containing RouteDirections as far as we're concerned, we can set it to a default value of {RouteDirections: []} if we don't find that, and our code will function as if there are no trips.