Skip to content

Commit

Permalink
Fixing invalid agent issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mshin committed Nov 30, 2018
1 parent 75c8b3f commit 5d242ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/adapters/http.js
Expand Up @@ -86,6 +86,7 @@ module.exports = function httpAdapter(config) {
method: config.method.toUpperCase(),
headers: headers,
agent: agent,
agents: { http: config.httpAgent, https: config.httpsAgent },
auth: auth
};

Expand Down

0 comments on commit 5d242ce

Please sign in to comment.