Skip to content

Commit

Permalink
Update service.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ohld committed Jun 9, 2024
1 parent 94edf99 commit 9a994ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tgbot/handlers/upload/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ async def get_uploaded_memes_of_user_id(user_id: int) -> list[dict[str, Any]]:
AND S.added_by = {user_id}
AND S.type = 'user upload'
AND M.status IN ('ok', 'published')
ORDER BY M.created_at DESC
ORDER BY M.created_at
"""
return await fetch_all(text(query))

0 comments on commit 9a994ec

Please sign in to comment.