fix(medusa): Remove items.refundable from the order default store fields (#4294)

* fix(medusa): Remove items.refundable from the order default store fields

* Create khaki-socks-thank.md

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Adrien de Peretti
2023-06-13 19:20:20 +02:00
committed by GitHub
parent 2c0074031b
commit 8e708aaddf
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---
fix(medusa): Remove items.refundable from the order default store fields

View File

@@ -108,7 +108,6 @@ export const defaultStoreOrdersFields = [
"currency_code",
"tax_rate",
"created_at",
"items.refundable",
] as (keyof Order)[]
export const allowedStoreOrdersFields = [
@@ -124,6 +123,7 @@ export const allowedStoreOrdersFields = [
"refundable_amount",
"gift_card_total",
"gift_card_tax_total",
"items.refundable",
]
/**