This commit is contained in:
parent
5f4e30866f
commit
296721d2b1
|
@ -98,10 +98,7 @@ def query_follows(user_id: str):
|
|||
Author.id,
|
||||
Author.slug,
|
||||
Author.pic,
|
||||
Author.bio,
|
||||
Author.shouts_stat,
|
||||
Author.followers_stat,
|
||||
Author.followings_stat,
|
||||
Author.bio
|
||||
])
|
||||
.select_from(Author)
|
||||
.join(AuthorFollower, AuthorFollower.follower == author_id)
|
||||
|
@ -138,9 +135,6 @@ def query_follows(user_id: str):
|
|||
Topic.id,
|
||||
Topic.slug,
|
||||
Topic.body,
|
||||
Topic.shouts_stat,
|
||||
Topic.authors_stat,
|
||||
Topic.followers_stat,
|
||||
])
|
||||
.select_from(Topic)
|
||||
.join(TopicFollower, TopicFollower.follower == author_id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user