-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I was using the site and it crashed with this error:
Which corresponds to this snippet:
I opened the network tab and looked at the response from the /stations endpoint. Out of the 1123 stations returned, 6 of them had their routes field set to an empty string instead of an array. For example, here's a response for one of the stations in the returned body:
{
"city": "Orlando",
"code": "MCO",
"connections": "",
"id": "MCO",
"lat": 28.41453,
"lon": -81.30818,
"name": "Orlando Station",
"nearbyCities": "",
"routes": "",
"stateLong": "Florida",
"stateShort": "FL",
"thruway": false,
"frequency": 0
}
This doesn't happen consistently, only sometimes. I was going to put up a PR but seems like this is more of a backend issue, which I don't see a repo for.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels