From 8650969ed30c3002da2d9c4876ec30f90bd44962 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Fri, 29 Jul 2022 10:52:06 +0300 Subject: [PATCH] smallfix --- storages/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storages/users.py b/storages/users.py index 77320fb6..25cad364 100644 --- a/storages/users.py +++ b/storages/users.py @@ -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