This commit is contained in:
yumoqing 2026-03-15 20:27:43 +08:00
parent 9d6f66965d
commit 74f08339c9

View File

@ -587,6 +587,6 @@ async def get_org_flow_definition(request):
orgid = await env.get_userorgid() orgid = await env.get_userorgid()
async with get_sor_context(env, 'dagflow') as sor: async with get_sor_context(env, 'dagflow') as sor:
sql = """select * from flow_definition where org_id in ${orids}$""" sql = """select * from flow_definition where org_id in ${orids}$"""
recs = sor.sqlExe(sql, {'orgids': ['0', orgid]}) recs = await sor.sqlExe(sql, {'orgids': ['0', orgid]})
return recs return recs
return [] return []