default user role; updateProfile method

This commit is contained in:
knst-kotov
2021-12-08 15:51:30 +03:00
parent 8092d8a262
commit 6e939f43db
9 changed files with 70 additions and 15 deletions

View File

@@ -94,7 +94,7 @@ class UserStorage:
async def add_user(user):
self = UserStorage
async with self.lock:
self.users[id] = user
self.users[user.id] = user
@staticmethod
async def del_user(id):