following-fix
All checks were successful
Deploy to core / deploy (push) Successful in 1m43s

This commit is contained in:
Untone 2024-01-31 17:45:02 +03:00
parent ff30960608
commit 77907c73e0

View File

@ -113,7 +113,7 @@ async def get_my_followed(_, info):
topics_query = (
session.query(Topic)
.join(TopicFollower, TopicFollower.follower == author_id)
.filter(AuthorFollower.author == Author.id)
.filter(TopicFollower.topic == Topic.id)
)
for [author] in session.execute(authors_query).unique():