@nuskin/ns-shop 6.7.3 → 6.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "6.7.3",
3
+ "version": "6.7.4",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -487,7 +487,7 @@ async function getAddToCartQty(product) {
487
487
  retVal = product.maxQuantity - cartQty;
488
488
  if (product.isExclusive) {
489
489
  try {
490
- const qual = QualificationService.getQualification(product.sku)
490
+ const qual = await QualificationService.getQualification(product.sku)
491
491
  const productIdentifier = qual.productId || qual.sku;
492
492
  cartQty = await getBaseSkuCartQuantity(productIdentifier)
493
493
  retVal = product.maxQuantity - cartQty;