comment-notint-fix
Some checks failed
Deploy on push / deploy (push) Failing after 6s

This commit is contained in:
2025-08-21 11:30:22 +03:00
parent 9c0a5af67a
commit fc25b58219

View File

@@ -261,7 +261,7 @@ async def get_topics_with_stats(
WHERE st.topic IN ({placeholders})
GROUP BY st.topic
"""
params["comment_kind"] = int(ReactionKind.COMMENT.value)
params["comment_kind"] = ReactionKind.COMMENT.value
comments_stats = {row[0]: row[1] for row in session.execute(text(comments_stats_query), params)}
# Формируем результат с добавлением статистики