bugfix
This commit is contained in:
parent
78b52c2063
commit
666f484d62
@ -144,7 +144,10 @@ where a.id=b.dappid
|
|||||||
"""
|
"""
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
async with get_sor_context(env, 'dapi') as sor:
|
async with get_sor_context(env, 'dapi') as sor:
|
||||||
recs = await sor.sqlExe(sql, {'dappid': dappid})
|
recs = await sor.sqlExe(sql, {
|
||||||
|
'dappid': dappid,
|
||||||
|
'userid': userid
|
||||||
|
})
|
||||||
if not recs:
|
if not recs:
|
||||||
debug(f'{dappid=}, {userid=} not exist is downapikey')
|
debug(f'{dappid=}, {userid=} not exist is downapikey')
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user