add-topic-stats
Some checks failed
Deploy to core / deploy (push) Failing after 6s

This commit is contained in:
Untone 2024-02-22 13:12:34 +03:00
parent a5416143df
commit 4a1ee2ac80

View File

@ -124,6 +124,7 @@ def query_follows(user_id: str):
.join(TopicFollower, TopicFollower.follower == author_id)
.filter(TopicFollower.topic == Topic.id)
)
topics_query = add_topic_stat_columns(topics_query)
topics = [
{
'id': topic.id,