Skip to content

Response being stripped  #7

@alterx

Description

@alterx

I noticed that the response you get after querying the endpoint is different that the one you get when using this library. Gave it a closer look and discovered that in line 34 you're stripping out the rest of the response information

data = data.concat(response.body[endpoint]);

So, for example, the 'teams' endpoint will return an object with 'teams', 'divisions', 'conferences' and 'leagues' but this line will extract only the teams information, leaving out the other three and effectively preventing the user from using this information.

Is there a reason for this?

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