fix(core-flows): delete receive return action (#8350)

This commit is contained in:
Carlos R. L. Rodrigues authored and GitHub committed 2024-07-30 12:48:50 +00:00
1 parent 9b6de8c02d
commit 169953ad1e
4 files changed
+115 -7

No files matched your search

@@ -1,5 +1,5 @@
import {
removeItemReturnActionWorkflow,
removeItemReceiveReturnActionWorkflow,
updateReceiveItemReturnRequestWorkflow,
} from "@medusajs/core-flows"
import {
@@ -57,7 +57,7 @@ export const DELETE = async (
const { id, action_id } = req.params
const { result: orderPreview } = await removeItemReturnActionWorkflow(
const { result: orderPreview } = await removeItemReceiveReturnActionWorkflow(
req.scope
).run({
input: {