You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that every once in a while, the API returns the array of games as undefined. Is this an occasional occurence, or is this an inability for the Mlbgames intializer to connect?
`const mlbgames = new Mlbgames(options);
mlbgames.get((err, games) => {
...doStuff
}`
Error while mapping over games object
TypeError: Cannot read property 'map' of undefined
Usually this package works for me, but occasionally it doesn't even fetch any games.
The text was updated successfully, but these errors were encountered:
It seems that every once in a while, the API returns the array of games as undefined. Is this an occasional occurence, or is this an inability for the Mlbgames intializer to connect?
`const mlbgames = new Mlbgames(options);
mlbgames.get((err, games) => {
...doStuff
}`
Error while mapping over games object
TypeError: Cannot read property 'map' of undefined
Usually this package works for me, but occasionally it doesn't even fetch any games.
The text was updated successfully, but these errors were encountered: