followers-fix
All checks were successful
Deploy on push / deploy (push) Successful in 1m53s

This commit is contained in:
Untone 2024-06-17 14:52:09 +03:00
parent a25a434ea2
commit 612f91a708

View File

@ -181,7 +181,7 @@ async def get_cached_author_followers(author_id: int):
author = json.loads(cached_author)
if not author:
return []
followers = []
followers_ids = []
followers_rkey = f"author:followers:{author_id}"
cached = await redis.execute("GET", followers_rkey)