small typo fix
This commit is contained in:
@@ -249,7 +249,7 @@ class ProductVariantService extends BaseService {
|
|||||||
const region = await this.regionService_.retrieve(regionId)
|
const region = await this.regionService_.retrieve(regionId)
|
||||||
|
|
||||||
// If prices already exist we need to update all prices with the same currency
|
// If prices already exist we need to update all prices with the same currency
|
||||||
if (varint.prices.length) {
|
if (variant.prices.length) {
|
||||||
let foundRegion = false
|
let foundRegion = false
|
||||||
const newPrices = variant.prices.map(moneyAmount => {
|
const newPrices = variant.prices.map(moneyAmount => {
|
||||||
if (moneyAmount.region_id === region._id) {
|
if (moneyAmount.region_id === region._id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user