This commit is contained in:
parent
ff30960608
commit
77907c73e0
|
@ -113,7 +113,7 @@ async def get_my_followed(_, info):
|
||||||
topics_query = (
|
topics_query = (
|
||||||
session.query(Topic)
|
session.query(Topic)
|
||||||
.join(TopicFollower, TopicFollower.follower == author_id)
|
.join(TopicFollower, TopicFollower.follower == author_id)
|
||||||
.filter(AuthorFollower.author == Author.id)
|
.filter(TopicFollower.topic == Topic.id)
|
||||||
)
|
)
|
||||||
|
|
||||||
for [author] in session.execute(authors_query).unique():
|
for [author] in session.execute(authors_query).unique():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user