4
0
forked from crowetic/commerce

Add back options (#570)

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
This commit is contained in:
Florian Cargouet 2021-11-23 20:11:33 +01:00 committed by GitHub
parent 179c10a53f
commit 94c2d2d6d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,8 @@ function normalizeLineItem(item: any): LineItem {
discounts: item.discounts.map((discount: any) => ({
value: discount.discounted_amount,
})),
}
options: item.options
} b
}
export function normalizeCategory(category: BCCategory): Category {