mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 18:58:35 +08:00
Update app.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
62b5c4b763
commit
ca215c6a73
@ -324,8 +324,8 @@ class AppListApi(Resource):
|
||||
NodeType.TRIGGER_PLUGIN,
|
||||
}
|
||||
for workflow in draft_workflows:
|
||||
for node_type in trigger_node_types:
|
||||
if next(workflow.walk_nodes(node_type), None):
|
||||
for _, node_data in workflow.walk_nodes():
|
||||
if node_data.get("type") in trigger_node_types:
|
||||
draft_trigger_app_ids.add(str(workflow.app_id))
|
||||
break
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user