fix-followers-save
This commit is contained in:
parent
5e400a7618
commit
977b86a3c6
|
@ -243,7 +243,7 @@ async def get_author_followers(_, _info, slug: str):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
results = get_with_stat(q)
|
results = get_with_stat(q)
|
||||||
_ = asyncio.create_task(update_author_followers_cache(author_id, results))
|
_ = asyncio.create_task(update_author_followers_cache(author_id, [x.dict() for x in results]))
|
||||||
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