unpublish-fix3
All checks were successful
Deploy on push / deploy (push) Successful in 47s

This commit is contained in:
Untone 2025-05-03 11:00:19 +03:00
parent 4f1eab513a
commit 3fbd2e677a

View File

@ -745,7 +745,7 @@ async def unpublish_shout(_, info, shout_id: int):
# Инвалидация кэша # Инвалидация кэша
try: try:
await invalidate_shout_related_cache(shout.id, author_id) await invalidate_shout_related_cache(shout, author_id)
await invalidate_shouts_cache() await invalidate_shouts_cache()
logger.info(f"Cache invalidated after unpublishing shout {shout_id}") logger.info(f"Cache invalidated after unpublishing shout {shout_id}")
except Exception as cache_err: except Exception as cache_err: