@nuskin/ns-product-lib 2.14.7-cx24-5291.1 → 2.15.0-cx24-6364.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/product.js +0 -1
- package/src/productData.js +6 -2
package/package.json
CHANGED
package/src/product.js
CHANGED
package/src/productData.js
CHANGED
@@ -25,9 +25,13 @@ const ProductData = {
|
|
25
25
|
|
26
26
|
const config = (await getConfiguration(['Equinox_Markets'])).Equinox_Markets;
|
27
27
|
if (config.active) {
|
28
|
-
return (config.
|
28
|
+
return (config.MySite_graphql_active_list.includes(market)) ?
|
29
|
+
await getProduct(skus[0], market, locale, config) :
|
30
|
+
await this.getProductFromEquinox(skus, localeMarket, config)
|
29
31
|
} else {
|
30
|
-
return (config.
|
32
|
+
return (config.MySite_graphql_active_list.includes(market)) ?
|
33
|
+
await getProduct(skus[0], market, locale, config) :
|
34
|
+
await this.getProductFromLegacy(skus, localeMarket);
|
31
35
|
}
|
32
36
|
|
33
37
|
},
|