Skip to content

Commit 7c335b3

Browse files
Changed option to axiosConfig
1 parent 28450a6 commit 7c335b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default class WooCommerceRestApi {
5656
this.queryStringAuth = opt.queryStringAuth || false;
5757
this.port = opt.port || "";
5858
this.timeout = opt.timeout;
59-
this.axiosOptions = opt.axiosOptions || {};
59+
this.axiosConfig = opt.axiosConfig || {};
6060
}
6161

6262
/**
@@ -231,7 +231,7 @@ export default class WooCommerceRestApi {
231231
}
232232

233233
// Allow set and override Axios options.
234-
options = { ...options, ...this.axiosOptions };
234+
options = { ...options, ...this.axiosConfig };
235235

236236
return axios(options);
237237
}

0 commit comments

Comments
 (0)