Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Aug 20, 2018
1 parent 59f67b2 commit d02fa87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/enhanceError.js
Expand Up @@ -15,11 +15,11 @@ module.exports = function enhanceError(error, config, code, request, response) {
if (code) {
error.code = code;
}

error.request = request;
error.response = response;
error.isAxiosError = true;

error.toJSON = function() {
return {
// Standard
Expand Down

0 comments on commit d02fa87

Please sign in to comment.