login-fix+draft_create-fix
All checks were successful
Deploy on push / deploy (push) Successful in 6s

This commit is contained in:
2025-05-29 17:09:32 +03:00
parent 4070f4fcde
commit 97d2b914b7
5 changed files with 15 additions and 14 deletions

View File

@@ -83,7 +83,7 @@ def get_reactions_with_stat(q, limit=10, offset=0):
reactions = []
with local_session() as session:
result_rows = session.execute(q)
result_rows = session.execute(q).unique()
for reaction, author, shout, comments_count, rating_stat in result_rows:
# Пропускаем реакции с отсутствующими shout или author
if not shout or not author: