Skip to content

Commit

Permalink
fix: rewrite circuit breaker + retry logic
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Sep 4, 2017
1 parent bd5f5b1 commit a239113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/happn-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { HappnNotAuthorizedError } = require('./errors')

const request = require('request')

const handleResponse = ({ statusCode, statusMessage, body }) => {
const handleResponse = ({ body }) => {
let _body = body
if (_.isString(_body)) {
_body = JSON.parse(_body)
Expand Down

0 comments on commit a239113

Please sign in to comment.