Skip to content

Commit 65d55ec

Browse files
dpopp07Joy Chang
authored and
Joy Chang
committed
fix: carry user options from constructor to axios parameters
This allows users to set parameters on the axios config object using the service constructor
1 parent faa8a90 commit 65d55ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/requestwrapper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export function sendRequest(parameters, _callback) {
281281
httpsAgent: new https.Agent({ rejectUnauthorized }),
282282
};
283283

284-
axios(requestParams)
284+
axios(extend(true, {}, options, requestParams))
285285
.then(res => {
286286
// the other sdks use the interface `result` for the body
287287
_callback(null, res.data, res);

0 commit comments

Comments
 (0)