fix-queru-more-2
All checks were successful
Deploy to core / deploy (push) Successful in 2m35s

This commit is contained in:
Untone 2024-02-21 21:33:27 +03:00
parent 5f4e30866f
commit 296721d2b1

View File

@ -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)