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:
|
||||
permid = perms[0].id
|
||||
ns = {
|
||||
'roleid': roleid
|
||||
'roleid': roleid,
|
||||
'permid': permid
|
||||
}
|
||||
recs = await sor.R('rolepermission', ns)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user