diff --git a/lib/requestwrapper.ts b/lib/requestwrapper.ts index f87245c94..75da7aa10 100644 --- a/lib/requestwrapper.ts +++ b/lib/requestwrapper.ts @@ -281,7 +281,7 @@ export function sendRequest(parameters, _callback) { httpsAgent: new https.Agent({ rejectUnauthorized }), }; - axios(requestParams) + axios(extend(true, {}, options, requestParams)) .then(res => { // the other sdks use the interface `result` for the body _callback(null, res.data, res);