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 []