groupby-fix
All checks were successful
Deploy to core / deploy (push) Successful in 1m23s

This commit is contained in:
2024-02-23 00:03:12 +03:00
parent 54f7dd9c1f
commit b0e2551e9b
4 changed files with 9 additions and 10 deletions

View File

@@ -77,7 +77,7 @@ async def update_follows_for_user(
async def handle_author_follower_change(connection, author_id, follower_id, is_insert):
q = select(Author).filter(Author.id == author_id)
q = add_author_stat_columns(q, author_model=Author)
q = add_author_stat_columns(q)
async with connection.begin() as conn:
[author, shouts_stat, followers_stat, followings_stat] = await conn.execute(
q