Skip to content

Commit

Permalink
Merge pull request #20 from ryanholte/master
Browse files Browse the repository at this point in the history
Adds got agent option
  • Loading branch information
OndraFiedler authored Sep 12, 2022
2 parents c76b06d + 54e0d36 commit ef84cf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/api-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ class ApiClient {
headers: {'Accept': 'application/json',
'Content-Type': 'application/json',
'User-Agent': 'recombee-node-api-client/4.0.0'},
timeout: request.timeout
timeout: request.timeout,
agent: this.options.agent
};

if (Object.entries(request.bodyParameters()).length > 0)
Expand Down

0 comments on commit ef84cf3

Please sign in to comment.