Skip to content

Commit

Permalink
chore: review complete - code is identical to request-promise v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-nico committed Jul 8, 2016
1 parent a3f9512 commit dbae0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plumbing.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function (options) {
self._rp_reject = reject;
});

self._rp_callbackOrig = requestOptions.callback; // TODO: Was self._rp_callbackOrig = self.callback;
self._rp_callbackOrig = requestOptions.callback;
requestOptions.callback = self.callback = function RP$callback(err, response, body) {
plumbing.callback.call(self, err, response, body);
};
Expand Down

0 comments on commit dbae0cf

Please sign in to comment.