buggix
This commit is contained in:
parent
0a076f313c
commit
e384efe28e
@ -279,10 +279,10 @@ dbname = get_module_dbname('{{modulename}}')
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
{% if logined_userid or logined_userorgid %}
|
||||
ns1 = {
|
||||
{% logined_userorgid %}
|
||||
{% if logined_userorgid %}
|
||||
"{{logined_userorgid}}": userorgid,
|
||||
{% endif %}
|
||||
{% logined_userid %}
|
||||
{% if logined_userid %}
|
||||
"{{logined_userid}}": userid,
|
||||
{% endif %}
|
||||
"id": params_kw.id
|
||||
@ -299,6 +299,7 @@ async with db.sqlorContext(dbname) as sor:
|
||||
"message":"Record no exist or with wrong ownership"
|
||||
}
|
||||
}
|
||||
{% endif %}
|
||||
r = await sor.U('{{summary[0].name}}', ns)
|
||||
debug('update success');
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user