cached-empty-fix-3
This commit is contained in:
parent
d93311541e
commit
9a94e5ac56
|
@ -334,8 +334,7 @@ async def get_author_followers(_, _info, slug: str):
|
||||||
logger.debug(
|
logger.debug(
|
||||||
f"@{slug} got {len(followers_cached)} followers cached"
|
f"@{slug} got {len(followers_cached)} followers cached"
|
||||||
)
|
)
|
||||||
followers = [fc for fc in followers_cached if str(fc["id"]) != str(author_id)]
|
return followers_cached
|
||||||
return followers
|
|
||||||
|
|
||||||
author_follower_alias = aliased(AuthorFollower, name="af")
|
author_follower_alias = aliased(AuthorFollower, name="af")
|
||||||
followers_query = select(Author).join(
|
followers_query = select(Author).join(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user