fix(order): save return's location ID from input (#13567)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-09-22 13:59:58 +03:00
1 parent 9633e0676e
commit 3758303a1d
2 files changed
+6

No files matched your search

+5
View File
@@ -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,
}) })
} }