Skip to content

Commit

Permalink
use agents v2
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin committed Nov 21, 2023
1 parent de4117c commit 278edd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/presto-client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Client.prototype.request = function(opts, callback) {
if (opts.body)
contentBody = opts.body;

opts.agent = {
opts.agents = {
http: new http.Agent(),
https: new https.Agent(client.ssl),
}
Expand Down

0 comments on commit 278edd0

Please sign in to comment.