@nuskin/ns-product-lib
Advanced tools
Comparing version 2.14.3-cx24-5962.1 to 2.14.3-cx24-5962.2
{ | ||
"name": "@nuskin/ns-product-lib", | ||
"version": "2.14.3-cx24-5962.1", | ||
"version": "2.14.3-cx24-5962.2", | ||
"description": "This project contains shared Product models and code between the backend and frontend.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -512,3 +512,4 @@ const axios = require('axios'); | ||
const { pricingJson } = product | ||
const promotion = pricingJson.promotion | ||
const parsedPricing = JSON.parse(pricingJson) | ||
const promotion = parsedPricing.promotion | ||
return (promotion && promotion.length >= 1) ? { message: promotion[0].message, offerId: promotion[0].offerId } : { message: '', offerId: '' } | ||
@@ -515,0 +516,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142541
4809