followers-cache-debug-2
This commit is contained in:
parent
5caa2d1f8c
commit
78b12d4f33
|
@ -313,7 +313,7 @@ async def get_author_followers(_, _info, slug: str):
|
||||||
if isinstance(cached, str):
|
if isinstance(cached, str):
|
||||||
followers_cached = json.loads(cached)
|
followers_cached = json.loads(cached)
|
||||||
if isinstance(followers_cached, list):
|
if isinstance(followers_cached, list):
|
||||||
logger.debug(f"@{slug} got {len(followers_cached)} followers cached")
|
logger.debug(f"@{slug} got {followers_cached} followers cached")
|
||||||
for fc in followers_cached:
|
for fc in followers_cached:
|
||||||
if fc['id'] not in followers_ids:
|
if fc['id'] not in followers_ids:
|
||||||
followers.append(fc)
|
followers.append(fc)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user