From d93311541eb19b52637957fa179ba9b61325498a Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 27 May 2024 19:57:22 +0300 Subject: [PATCH] cached-empty-fix-2 --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index 76747196..f3a277a4 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -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")