forked from crowetic/commerce
Fix bigcommerce build (#579)
This commit is contained in:
parent
e7fc93f9c7
commit
683d309905
@ -127,8 +127,7 @@ function normalizeLineItem(item: any): LineItem {
|
|||||||
discounts: item.discounts.map((discount: any) => ({
|
discounts: item.discounts.map((discount: any) => ({
|
||||||
value: discount.discounted_amount,
|
value: discount.discounted_amount,
|
||||||
})),
|
})),
|
||||||
options: item.options
|
}
|
||||||
} b
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function normalizeCategory(category: BCCategory): Category {
|
export function normalizeCategory(category: BCCategory): Category {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user