main_topic-fix2
All checks were successful
Deploy on push / deploy (push) Successful in 57s

This commit is contained in:
2025-02-12 00:39:25 +03:00
parent 52b608da99
commit 1585e55342
6 changed files with 24 additions and 42 deletions

2
cache/triggers.py vendored
View File

@@ -50,7 +50,7 @@ def after_shout_handler(mapper, connection, target):
return
# Проверяем изменение статуса публикации
was_published = target.published_at is not None and target.deleted_at is None
# was_published = target.published_at is not None and target.deleted_at is None
# Всегда обновляем счетчики для авторов и тем при любом изменении поста
for author in target.authors: