fix dead lock

This commit is contained in:
jxxghp
2025-07-23 17:03:50 +08:00
parent d6d12c0335
commit 232fe4d15e
2 changed files with 9 additions and 11 deletions

View File

@@ -217,7 +217,6 @@ def pause_workflow(workflow_id: int,
"""
停用工作流
"""
from app.db.workflow_oper import WorkflowOper
workflow = WorkflowOper(db).get(workflow_id)
if not workflow:
return schemas.Response(success=False, message="工作流不存在")