We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d25b0e commit ff45a10Copy full SHA for ff45a10
lib/marklogic.js
@@ -620,16 +620,14 @@ function initClient(client, inputParams) {
620
}
621
});
622
connectionParams.agent = new YAgent.SSL(agentOptions);
623
- }
624
- else {
+ } else {
625
connectionParams.agent = inputParams.agent;
626
627
} else {
628
client.request = http.request;
629
if (noAgent) {
630
connectionParams.agent = new YAgent(agentOptions);
631
632
633
634
635
0 commit comments