diff --git a/resolvers/author.py b/resolvers/author.py index b0471948..b5c5df86 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -368,8 +368,7 @@ async def get_authors_with_stats( ).label("total_replies"), ) .select_from( - replies_to_comments_subq - .outerjoin( + replies_to_comments_subq.outerjoin( comments_on_posts_subq, replies_to_comments_subq.c.author_id == comments_on_posts_subq.c.author_id, )