forked from crowetic/commerce
Add back options (#570)
Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
This commit is contained in:
parent
179c10a53f
commit
94c2d2d6d4
@ -127,7 +127,8 @@ 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