This commit is contained in:
@@ -181,7 +181,7 @@ async def get_cached_author_followers(author_id: int):
|
|||||||
author = json.loads(cached_author)
|
author = json.loads(cached_author)
|
||||||
if not author:
|
if not author:
|
||||||
return []
|
return []
|
||||||
|
followers = []
|
||||||
followers_ids = []
|
followers_ids = []
|
||||||
followers_rkey = f"author:followers:{author_id}"
|
followers_rkey = f"author:followers:{author_id}"
|
||||||
cached = await redis.execute("GET", followers_rkey)
|
cached = await redis.execute("GET", followers_rkey)
|
||||||
|
|||||||
Reference in New Issue
Block a user