From 6edbc8b8b4cb7e982db823f82b446a525e172feb Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 26 Oct 2023 23:50:35 +0300 Subject: [PATCH] fix /emojis list --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 3820ea705..9316ed49c 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -54,7 +54,7 @@ def get_emoji_list(kind, nsfw): if not nsfw: emojis = emojis.filter(Emoji.nsfw == False) - emojis = emojis.order_by(Emoji.count.desc()) + emojis = emojis.order_by(Emoji.count.desc()).all() return emojis