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

This commit is contained in:
Harminder Virk
2024-08-02 10:27:03 +05:30
committed by GitHub
parent 2280d31396
commit c2faca1e8b

View File

@@ -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, {