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

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

View File

@@ -0,0 +1,5 @@
---
"@medusajs/order": patch
---
fix(order): save return's location ID from input

View File

@@ -22,6 +22,7 @@ function createReturnReference(em, data, order) {
status: ReturnStatus.REQUESTED,
no_notification: data.no_notification,
refund_amount: (data.refund_amount as unknown) ?? null,
location_id: data.location_id ?? null,
})
}