Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit f11e720

Browse files
authored
Merge pull request #192 from ResuBaka/fix-api-version-hardcoded
Changed apiVersion from hardcoded value to config value
2 parents 2e973de + 73f62e0 commit f11e720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/magento1/tax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class TaxProxy extends AbstractTaxProxy {
6767
port: this._config.elasticsearch.port
6868
},
6969
log: 'debug',
70-
apiVersion: '5.5',
70+
apiVersion: this._config.elasticsearch.apiVersion,
7171
requestTimeout: 5000
7272
}
7373
if (this._config.elasticsearch.user) {

0 commit comments

Comments
 (0)