Skip to content

Commit 9a994ec

Browse files
committed
Update service.py
1 parent 94edf99 commit 9a994ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tgbot/handlers/upload/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,6 @@ async def get_uploaded_memes_of_user_id(user_id: int) -> list[dict[str, Any]]:
135135
AND S.added_by = {user_id}
136136
AND S.type = 'user upload'
137137
AND M.status IN ('ok', 'published')
138-
ORDER BY M.created_at DESC
138+
ORDER BY M.created_at
139139
"""
140140
return await fetch_all(text(query))

0 commit comments

Comments
 (0)