Refactor/finish rename order (#10136)
This commit is contained in:
6
.changeset/neat-geese-allow.md
Normal file
6
.changeset/neat-geese-allow.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
"@medusajs/core-flows": patch
|
||||
---
|
||||
|
||||
Refactor/finish rename order
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createOrdersWorkflow } from "@medusajs/core-flows"
|
||||
import { createOrderWorkflow } from "@medusajs/core-flows"
|
||||
import {
|
||||
ContainerRegistrationKeys,
|
||||
OrderStatus,
|
||||
@@ -83,7 +83,7 @@ export const POST = async (
|
||||
input.email = customer?.email
|
||||
}
|
||||
|
||||
const { result } = await createOrdersWorkflow(req.scope).run({
|
||||
const { result } = await createOrderWorkflow(req.scope).run({
|
||||
input: workflowInput,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user