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