fix: pass updatedCollections to the hook and not the step (#8402)

This commit is contained in:
Harminder Virk authored and GitHub committed 2024-08-02 10:27:03 +05:30
1 parent 2280d31396
commit c2faca1e8b
1 file changed
+1 -1
@@ -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, {