This commit is contained in:
tonyrewin 2022-07-29 10:52:06 +03:00
parent ee4fc6cbca
commit 8650969ed3

View File

@ -27,7 +27,7 @@ class UserStorage:
async def get_all_users():
self = UserStorage
async with self.lock:
aaa = list(self.users.copy().values())
aaa = list(self.users.values())
aaa.sort(key=lambda user: user.createdAt)
return aaa