@nuskin/ns-product-lib 2.5.0-cx24-31681.3 → 2.5.0-cx24-31681.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/productData.js +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [2.5.0-cx24-31681.4](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-31681.3...v2.5.0-cx24-31681.4) (2023-01-12)
|
2
|
+
|
3
|
+
|
4
|
+
### Fix
|
5
|
+
|
6
|
+
* Equinox API called for non equinox market (CX24-3168) ([e59258e](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/e59258e201e649a424d8cf28d5965f6d221383a3))
|
7
|
+
|
1
8
|
# [2.5.0-cx24-31681.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-31681.2...v2.5.0-cx24-31681.3) (2023-01-12)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -19,12 +19,12 @@ const ProductData = {
|
|
19
19
|
if (isEquinoxEnabled) {
|
20
20
|
let config = (await getConfiguration({
|
21
21
|
configMapNames: ['Equinox_Markets'],
|
22
|
-
country:
|
22
|
+
country: market,
|
23
23
|
environment: 'test',
|
24
24
|
clientId: '735b1eb810304bba966af0891ab54053'
|
25
25
|
})).Equinox_Markets;
|
26
26
|
console.log(config)
|
27
|
-
if (config) {
|
27
|
+
if (config.country_code != '') {
|
28
28
|
return await this.getProductFromEquinox(skus, localeMarket, config);
|
29
29
|
}
|
30
30
|
}
|