fix(order): save return's location ID from input (#13567)
This commit is contained in:
1 parent
9633e0676e
commit
3758303a1d
2 files changed
+6
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/order": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(order): save return's location ID from input
|
||||||
@@ -22,6 +22,7 @@ function createReturnReference(em, data, order) {
|
|||||||
status: ReturnStatus.REQUESTED,
|
status: ReturnStatus.REQUESTED,
|
||||||
no_notification: data.no_notification,
|
no_notification: data.no_notification,
|
||||||
refund_amount: (data.refund_amount as unknown) ?? null,
|
refund_amount: (data.refund_amount as unknown) ?? null,
|
||||||
|
location_id: data.location_id ?? null,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user