From c2faca1e8b23255af431ed0001eeb66dd17ea2ff Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Fri, 2 Aug 2024 10:27:03 +0530 Subject: [PATCH] fix: pass updatedCollections to the hook and not the step (#8402) --- .../core/core-flows/src/product/workflows/update-collections.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/core-flows/src/product/workflows/update-collections.ts b/packages/core/core-flows/src/product/workflows/update-collections.ts index 9a6dae2f80..900d4273a5 100644 --- a/packages/core/core-flows/src/product/workflows/update-collections.ts +++ b/packages/core/core-flows/src/product/workflows/update-collections.ts @@ -22,7 +22,7 @@ export const updateCollectionsWorkflow = createWorkflow( const updatedCollections = updateCollectionsStep(input) const collectionsUpdated = createHook("collectionsUpdated", { additional_data: input.additional_data, - collections: updateCollectionsStep, + collections: updatedCollections, }) return new WorkflowResponse(updatedCollections, {