From 3fbd2e677acd3b068cf1a2dc13b2f86b7a1ed285 Mon Sep 17 00:00:00 2001 From: Untone Date: Sat, 3 May 2025 11:00:19 +0300 Subject: [PATCH] unpublish-fix3 --- resolvers/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/editor.py b/resolvers/editor.py index cb80aa7c..92bafc4b 100644 --- a/resolvers/editor.py +++ b/resolvers/editor.py @@ -745,7 +745,7 @@ async def unpublish_shout(_, info, shout_id: int): # Инвалидация кэша try: - await invalidate_shout_related_cache(shout.id, author_id) + await invalidate_shout_related_cache(shout, author_id) await invalidate_shouts_cache() logger.info(f"Cache invalidated after unpublishing shout {shout_id}") except Exception as cache_err: