наччало бека документации
Сломан roles-single. Отвязать от стора юзеров
This commit is contained in:
1 parent
65d9ab9c9c
commit
7f11451856
22 files changed
+258
-179
No files matched your search
@@ -108,3 +108,6 @@ async def historyDataCreator(user,data,level,action,projectid,taskid=None,workid
|
||||
|
||||
|
||||
|
||||
def findrole(data, roleid):
|
||||
|
||||
return list(filter(lambda user: user['role']['id'] == roleid, data))[0]
|
||||
Reference in new issue
Block a user