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.
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.