@nuskin/ns-product-lib 2.5.0-cx24-31681.2 → 2.5.0-cx24-31681.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [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
+
3
+
4
+ ### Fix
5
+
6
+ * Equinox API called for non equinox market (CX24-3168) ([f0624e7](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/f0624e716cf33de22fddd7d1edb31c05bec772eb))
7
+
1
8
  # [2.5.0-cx24-31681.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-31681.1...v2.5.0-cx24-31681.2) (2023-01-12)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-31681.2",
3
+ "version": "2.5.0-cx24-31681.3",
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
  console.log(config)
27
- if (config.country_code !== null || config.country_code != '') {
27
+ if (config) {
28
28
  return await this.getProductFromEquinox(skus, localeMarket, config);
29
29
  }
30
30
  }