last-commented-fix
All checks were successful
Deploy on push / deploy (push) Successful in 8s

This commit is contained in:
Untone 2024-12-04 18:25:51 +03:00
parent 597fd6ad55
commit b8f86e5d5e

View File

@ -177,8 +177,7 @@ def query_with_stat(info):
"rating",
func.coalesce(stats_subquery.c.rating, 0),
"last_commented_at",
func.coalesce(stats_subquery.c.last_commented_at, 0),
None,
func.coalesce(stats_subquery.c.last_commented_at, 0)
).label("stat")
)