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 28450a6 commit 7c335b3Copy full SHA for 7c335b3
index.mjs
@@ -56,7 +56,7 @@ export default class WooCommerceRestApi {
56
this.queryStringAuth = opt.queryStringAuth || false;
57
this.port = opt.port || "";
58
this.timeout = opt.timeout;
59
- this.axiosOptions = opt.axiosOptions || {};
+ this.axiosConfig = opt.axiosConfig || {};
60
}
61
62
/**
@@ -231,7 +231,7 @@ export default class WooCommerceRestApi {
231
232
233
// Allow set and override Axios options.
234
- options = { ...options, ...this.axiosOptions };
+ options = { ...options, ...this.axiosConfig };
235
236
return axios(options);
237
0 commit comments