diff --git a/files/routes/posts.py b/files/routes/posts.py index 522c4c609..437278bb3 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -170,7 +170,7 @@ def post_id(pid, anything=None, v=None, sub=None): blocked, blocked.c.user_id == Comment.author_id, isouter=True - ).options(joinedload(Comment.flags), joinedload(Comment.awards), joinedload(Comment.author), joinedload(Comment.author, User.badges)) + ).options(joinedload(Comment.flags), joinedload(Comment.awards)) output = [] for c in comments.all():