Formatting
This commit is contained in:
parent
ad508dd639
commit
66e8b99feb
1 changed files with 4 additions and 2 deletions
|
|
@ -185,7 +185,9 @@ export default {
|
||||||
|
|
||||||
// Add newly validated promos to the array to get taxed
|
// Add newly validated promos to the array to get taxed
|
||||||
const newValidatedPromos = validatePromoResponse?.orderPromos ?? [];
|
const newValidatedPromos = validatePromoResponse?.orderPromos ?? [];
|
||||||
newValidatedPromos.push(...(revalidatePromoResponse ? revalidatePromoResponse.promoLineItems : []));
|
newValidatedPromos.push(
|
||||||
|
...(revalidatePromoResponse ? revalidatePromoResponse.promoLineItems : [])
|
||||||
|
);
|
||||||
pricedLineItemsToTax.push(...newValidatedPromos);
|
pricedLineItemsToTax.push(...newValidatedPromos);
|
||||||
// End of promo logic
|
// End of promo logic
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue