bugfix
This commit is contained in:
parent
f67e19b405
commit
4a9fc801ab
@ -57,18 +57,6 @@ async def get_userapikey(sor, upappid, callerid):
|
||||
None: this orgid has not gotton apikey from upapp
|
||||
dict if apikey and upapp infos
|
||||
"""
|
||||
sql = """select
|
||||
a.myappid,
|
||||
a.ownerid as appownerid,
|
||||
a.baseurl,
|
||||
a.secretkey,
|
||||
b.apikey
|
||||
from upapp a left join
|
||||
(select * from upappkey
|
||||
where upappid=${appid}$
|
||||
and ownerid = ${ownerid}$) b
|
||||
on a.id = b.upappid
|
||||
where a.id = ${appid}$"""
|
||||
sql = """select
|
||||
a.myappid,
|
||||
a.ownerid as appownerid,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user