commented->comments_count
All checks were successful
Deploy on push / deploy (push) Successful in 55s

This commit is contained in:
2025-03-26 08:25:18 +03:00
parent 3c56fdfaea
commit a5eaf4bb65
6 changed files with 15 additions and 15 deletions

View File

@@ -225,7 +225,7 @@ def get_shouts_with_links(info, q, limit=20, offset=0):
elif isinstance(row.stat, dict):
stat = row.stat
viewed = ViewedStorage.get_shout(shout_id=shout_id) or 0
shout_dict["stat"] = {**stat, "viewed": viewed, "commented": stat.get("comments_count", 0)}
shout_dict["stat"] = {**stat, "viewed": viewed}
# Обработка main_topic и topics
topics = None