get_my_rates_comments-fix
All checks were successful
Deploy on push / deploy (push) Successful in 55s

This commit is contained in:
2025-02-04 02:53:01 +03:00
parent 40b4703b1a
commit 56db33d7f1
7 changed files with 58 additions and 44 deletions

View File

@@ -69,7 +69,7 @@ def query_with_stat(info):
Shout.deleted_at.is_(None), # Проверяем deleted_at
)
)
# Главный автор
main_author = aliased(Author)
q = q.join(main_author, main_author.id == Shout.created_by)