From 7a4c02d11d1b97835a1b7b3aa5f79ccf9aebbb6a Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 6 Jun 2024 12:33:58 +0300 Subject: [PATCH] typo-fx --- resolvers/author.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resolvers/author.py b/resolvers/author.py index e5958e3f..6791e7d7 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -115,8 +115,8 @@ async def load_authors_by(_, _info, by, limit, offset): authors_query = ( authors_query .join(ShoutAuthor) - .join(ShoutTopic, ShoutAuthor.topic_id == ShoutTopic.id) - .join(Topic, ShoutTopic.topic_id == Topic.id) + .join(ShoutTopic, ShoutAuthor.topic == ShoutTopic.id) + .join(Topic, ShoutTopic.topic == Topic.id) .filter(Topic.slug == str(by["topic"])) )