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

This commit is contained in:
2025-02-04 00:01:54 +03:00
parent 33ddfc6c31
commit 84de0c5538
2 changed files with 5 additions and 3 deletions

2
cache/triggers.py vendored
View File

@@ -77,7 +77,7 @@ def after_reaction_handler(mapper, connection, target):
# Обновляем счетчики для автора комментария
if target.created_by:
revalidation_manager.mark_for_revalidation(target.created_by.id, "authors")
revalidation_manager.mark_for_revalidation(target.created_by, "authors")
# Обновляем счетчики для поста и его авторов/тем
revalidation_manager.mark_for_revalidation(shout.id, "shouts")