bugfix
This commit is contained in:
parent
8f77f35729
commit
44ea194257
@ -36,7 +36,7 @@ class UserPermisions:
|
||||
async def get_cached_user_cup(self, userid):
|
||||
return self.cups.get(userid)
|
||||
|
||||
async def load_user_cup(userid):
|
||||
async def load_user_cup(self, userid):
|
||||
sql = """select a.id,b.path from users a, userrole c, rolepermission d, permission b
|
||||
where a.id = c.userid
|
||||
and c.roleid = d.roleid
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user