create-reaction-fix-2
All checks were successful
Deploy on push / deploy (push) Successful in 25s

This commit is contained in:
2024-05-18 17:41:04 +03:00
parent 0d618116e1
commit b73cce5431
2 changed files with 9 additions and 7 deletions

View File

@@ -67,7 +67,9 @@ def after_shout_update(_mapper, _connection, shout: Shout):
.filter(ShoutAuthor.shout == shout.id) # Filter by shout.id
)
for author_with_stat in get_with_stat(authors_query):
authors_updated = get_with_stat(authors_query)
for author_with_stat in authors_updated:
asyncio.create_task(cache_author(author_with_stat.dict()))