From 9b2db3cc1dc804b2817ce859045c00191a508a3c Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 30 May 2024 22:04:28 +0300 Subject: [PATCH] d-fix --- services/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cache.py b/services/cache.py index acabb0f4..d819f9eb 100644 --- a/services/cache.py +++ b/services/cache.py @@ -134,7 +134,7 @@ async def get_cached_author_followers(author_id: int): cached_author = await redis.execute("GET", f"author:id:{author_id}") author = None if cache_author: - author = json.loads(cache_author) + author = json.loads(cached_author) if not author: return []