comments-rates-fix
All checks were successful
Deploy on push / deploy (push) Successful in 7s

This commit is contained in:
2024-12-11 23:49:58 +03:00
parent f3c06e1969
commit a1486b3bba
2 changed files with 50 additions and 6 deletions

View File

@@ -34,7 +34,6 @@ async def get_my_rates_comments(_, info, comments: list[int]) -> list[dict]:
)
.order_by(Reaction.shout, Reaction.created_at.desc())
.distinct(Reaction.shout)
.subquery()
)
with local_session() as session:
comments_result = session.execute(rated_query).all()