bugfix
This commit is contained in:
parent
8bcc14823d
commit
1afafe5304
@ -16,7 +16,7 @@ async def add_roleperm(sor, roleid, path, permid=None):
|
|||||||
if perms:
|
if perms:
|
||||||
permid = perms[0].id
|
permid = perms[0].id
|
||||||
ns = {
|
ns = {
|
||||||
'roleid': roleid
|
'roleid': roleid,
|
||||||
'permid': permid
|
'permid': permid
|
||||||
}
|
}
|
||||||
recs = await sor.R('rolepermission', ns)
|
recs = await sor.R('rolepermission', ns)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user