diff --git a/api/models/workflow.py b/api/models/workflow.py index a81c889277..91be1cda6e 100644 --- a/api/models/workflow.py +++ b/api/models/workflow.py @@ -947,7 +947,6 @@ class WorkflowDraftVariable(Base): variable.app_id = app_id variable.node_id = node_id variable.name = name - variable.app_id = app_id variable.set_value(value) variable._set_selector(list(variable_utils.to_selector(node_id, name))) return variable