This commit is contained in:
parent
a25a434ea2
commit
612f91a708
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user