From 20d68b55ce9620342a11924b5321bf6ffb6d4513 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Fri, 29 Jul 2022 07:41:22 +0300 Subject: [PATCH] fix-all-authors --- storages/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storages/users.py b/storages/users.py index b2ff7d69..790d588a 100644 --- a/storages/users.py +++ b/storages/users.py @@ -26,7 +26,7 @@ class UserStorage: async def get_all_users(): self = UserStorage async with self.lock: - return self.users + return self.users.values().sort(key=lambda user: user.createdAt) @staticmethod async def get_user_by_slug(slug):