from-topic-follower-fix
Some checks failed
deploy / deploy (push) Failing after 5s

This commit is contained in:
2024-01-13 11:49:12 +03:00
parent 8050a7e828
commit 8f690af6ef
5 changed files with 37 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ async def get_topics_all(_, _info):
def topics_followed_by(author_id):
q = select(Topic)
q = select(Topic, TopicFollower)
q = add_topic_stat_columns(q)
q = q.join(TopicFollower).where(TopicFollower.follower == author_id)