@nuskin/ns-product-lib 2.5.0-cx24-3168.6 → 2.5.0-cx24-31681.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [2.5.0-cx24-31681.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.9...v2.5.0-cx24-31681.1) (2023-01-12)
2
+
3
+
4
+ ### Fix
5
+
6
+ * Equinox API called for non equinox market (CX24-3168) ([a44450d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/a44450de717c36f2eba0ac08af8f90ce44ed96e2))
7
+ * Equinox API called for non equinox market (CX24-3168) ([8c0c23d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/8c0c23db6ed1bc89b7fd651cf3e062d88e47c0e5))
8
+
1
9
  # [2.5.0-cx24-3168.6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-3168.5...v2.5.0-cx24-3168.6) (2023-01-12)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-3168.6",
3
+ "version": "2.5.0-cx24-31681.1",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -24,7 +24,7 @@ const ProductData = {
24
24
  clientId: '735b1eb810304bba966af0891ab54053'
25
25
  })).Equinox_Markets;
26
26
 
27
- if (config.store_id !== null) {
27
+ if (config.country_code !== null || config.country_code !== '') {
28
28
  return await this.getProductFromEquinox(skus, localeMarket, config);
29
29
  }
30
30
  }