bugfix
This commit is contained in:
parent
9d6f66965d
commit
74f08339c9
@ -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 []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user