diff --git a/uapi/appapi.py b/uapi/appapi.py index 5432b15..3704685 100644 --- a/uapi/appapi.py +++ b/uapi/appapi.py @@ -43,7 +43,7 @@ from uapi a, upapp b, uapiset c where a.apisetid = b.apisetid and b.apisetid = c.id and a.name = ${apiname}$ - and b.id = ${uappid}$""" + and b.id = ${upappid}$""" recs = await sor.sqlExe(sql, {'upappid': upappid, 'apiname': apiname}) if len(recs) == 0: debug(f'{sql=},{upappid=}, {apiname=} uapi not found')