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

Commit 73f62e0

Browse files
author
Resubaka
committed
Changed apiVersion from hardcoded value to config value
The value 5.5 was hardcoded into the source code but the value from this._config.elasticsearch.apiVersion should be used when creating the elasticsearch client.
1 parent 2e973de commit 73f62e0

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)