diff --git a/api/core/workflow/nodes/list_operator/node.py b/api/core/workflow/nodes/list_operator/node.py index e9a87f2b25..8537878d63 100644 --- a/api/core/workflow/nodes/list_operator/node.py +++ b/api/core/workflow/nodes/list_operator/node.py @@ -188,7 +188,7 @@ class ListOperatorNode(BaseNode): if len(variable.value) > int(value): result = variable.value[value] else: - result = {} + result = None return variable.model_copy(update={"value": [result]})