Permalink
Browse files

Fixes #92

  • Loading branch information...
pksunkara committed Feb 1, 2014
1 parent 0b80d70 commit 70bb1f08e5e01342262c781d034ef22f7c62a9b1
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/octonode/client.js
  2. +1 −1 src/octonode/client.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -113,7 +113,7 @@ class Client
body = JSON.parse(body || '{}')
catch err
return callback(err)
- return callback(new HttpError(body.message, res.statusCode, res.headers)) if body.message and res.statusCode in [400, 401, 404, 410, 422]
+ return callback(new HttpError(body.message, res.statusCode, res.headers)) if body.message and res.statusCode in [400, 401, 403, 404, 410, 422]
callback null, res.statusCode, body, res.headers
# Github api GET request

0 comments on commit 70bb1f0

Please sign in to comment.