diff --git a/lib/adapters/http.js b/lib/adapters/http.js index d163a2051d..16dad129d9 100755 --- a/lib/adapters/http.js +++ b/lib/adapters/http.js @@ -85,10 +85,7 @@ module.exports = function httpAdapter(config) { method: config.method.toUpperCase(), headers: headers, agent: agent, - agents: { - httpsAgent: config.httpsAgent, - httpAgent: config.httpAgent - }, + agents: { http: config.httpAgent, https: config.httpsAgent }, auth: auth };