Skip to content

Support for requests that return gzip #4

@tkafka

Description

@tkafka

Some requests, like salesReports API don't return json, but gzip - node-app-store-connect-api currently fails on these, as contentType is application/a-gzip, and so the control pass to this line:

There, the gzip binary is returned as text, and in read function, the destructuring assigment doesn't find anything to destructure and returns undefined.

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