This commit is contained in:
parent
ee24f2f1db
commit
7f1794891c
|
@ -310,7 +310,7 @@ async def get_author_followers(_, _info, slug: str):
|
||||||
results = get_with_stat(q)
|
results = get_with_stat(q)
|
||||||
if isinstance(results, list):
|
if isinstance(results, list):
|
||||||
for follower in results:
|
for follower in results:
|
||||||
await cache_follower(follower, author)
|
await cache_follower(follower.dict(), author.dict())
|
||||||
logger.debug(f"@{slug} cache updated with {len(results)} followers")
|
logger.debug(f"@{slug} cache updated with {len(results)} followers")
|
||||||
return results
|
return results
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user