fix model workflow_draft_variables duplicate app_id set. (#19949)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
湛露先生 2025-05-20 10:26:34 +08:00 committed by GitHub
parent c9ee60e197
commit 911f9eadd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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