mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 04:14:18 +00:00
Update normalize.ts
add missing options property to `normalizeLineItem`
This commit is contained in:
parent
61d075daf1
commit
a362fea85f
@ -119,6 +119,7 @@ function normalizeLineItem(item: any): LineItem {
|
||||
price: item.sale_price,
|
||||
listPrice: item.list_price,
|
||||
},
|
||||
options: item.options,
|
||||
path: item.url.split('/')[3],
|
||||
discounts: item.discounts.map((discount: any) => ({
|
||||
value: discount.discounted_amount,
|
||||
|
Loading…
x
Reference in New Issue
Block a user