fix /emojis list

pull/216/head
Aevann 2023-10-26 23:50:35 +03:00
parent 35fff9c1c7
commit 6edbc8b8b4
1 changed files with 1 additions and 1 deletions

View File

@ -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