diff --git a/packages/server/src/threads/automation.ts b/packages/server/src/threads/automation.ts index 668599bdcc..478dade56f 100644 --- a/packages/server/src/threads/automation.ts +++ b/packages/server/src/threads/automation.ts @@ -451,7 +451,7 @@ class Orchestrator { }) this.context.steps[this.context.steps.length] = tempOutput this.context.steps = this.context.steps.filter( - item => !item.hasOwnProperty.call("currentItem") + item => !item.hasOwnProperty.call(item, "currentItem") ) this.loopStepOutputs = []