Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid status check #33

Closed
HatiGamedev opened this issue Jun 22, 2016 · 1 comment
Closed

Invalid status check #33

HatiGamedev opened this issue Jun 22, 2016 · 1 comment

Comments

@HatiGamedev
Copy link

Status-Code: 201 (Created) should not throw an error but currently does, as just 200 is error free.

          if (response.status !== 200) {
            cb && cb(response, null);
          } else {
            cb && cb(null, response);
          }

Also, Regarding #9

@kmudrick
Copy link
Collaborator

kmudrick commented Oct 6, 2016

@HatiEth this was fixed with #38 and released as 0.5.2

@tbranyen tbranyen closed this as completed Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants