fix(medusa): allow multiple fulfillments
This commit is contained in:
1 parent
924d5cad79
commit
0856645a11
1 file changed
-7
@@ -657,13 +657,6 @@ class OrderService extends BaseService {
|
|||||||
})
|
})
|
||||||
.filter(i => !!i)
|
.filter(i => !!i)
|
||||||
|
|
||||||
if (order.fulfillment_status !== "not_fulfilled") {
|
|
||||||
throw new MedusaError(
|
|
||||||
MedusaError.Types.INVALID_ARGUMENT,
|
|
||||||
"Order is already fulfilled"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
const { shipping_methods } = order
|
const { shipping_methods } = order
|
||||||
|
|
||||||
// prepare update object
|
// prepare update object
|
||||||
|
|||||||
Reference in new issue
Block a user