Skip to content

Question about mlbGames.get() #1

Description

@mattfbaldwin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions