fix(workflows-sdk): Fix StepFunction typings and custom step name (#6468)
* fix(workflows=sdk): Fix StepFunction typings and custom step name * Create smart-nails-switch.md * fixes * fixes * fixes --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
72a17d6cd7
commit
f611865553
@@ -1,9 +1,9 @@
|
||||
import { CartDTO, CreateCartWorkflowInputDTO } from "@medusajs/types"
|
||||
import {
|
||||
WorkflowData,
|
||||
createWorkflow,
|
||||
parallelize,
|
||||
transform,
|
||||
WorkflowData,
|
||||
} from "@medusajs/workflows-sdk"
|
||||
import {
|
||||
createCartsStep,
|
||||
@@ -53,6 +53,7 @@ export const createCartWorkflow = createWorkflow(
|
||||
|
||||
// TODO: Add line items
|
||||
|
||||
// @ts-ignore
|
||||
const cart = createCartsStep([cartInput])
|
||||
|
||||
return cart[0]
|
||||
|
||||
Reference in New Issue
Block a user