@nuskin/ns-product-lib 2.13.0-cx24-51072.1 → 2.13.1-cx24-51199.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.13.0-cx24-51072.1",
3
+ "version": "2.13.1-cx24-51199.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": {
@@ -25,7 +25,7 @@ const ProductData = {
25
25
 
26
26
  const config = (await getConfiguration(['Equinox_Markets'])).Equinox_Markets;
27
27
  if (config.active) {
28
- return (config.MySite_graphql_active) ? await getProduct(skus[0], market, locale, config) : await this.getProductFromEquinox(skus, locale, config)
28
+ return (config.MySite_graphql_active) ? await getProduct(skus[0], market, locale, config) : await this.getProductFromEquinox(skus, localeMarket, config)
29
29
  } else {
30
30
  return (config.MySite_graphql_active) ? await getProduct(skus[0], market, locale, config) : await this.getProductFromLegacy(skus, localeMarket);
31
31
  }