From e61db5d6e598e040f735c312dca999ffbc545a44 Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 7 May 2024 00:03:58 +0300 Subject: [PATCH] logs-fix --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index 8c2eebbd..08a30e4e 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -315,7 +315,7 @@ async def get_author_followers(_, _info, slug: str): if isinstance(cached, str): followers_cached = json.loads(cached) if isinstance(followers_cached, list): - logger.debug(f"@{slug} got {followers_cached} followers cached") + logger.debug(f"@{slug} got {len(followers_cached)} followers cached") for fc in followers_cached: if fc["id"] not in followers_ids: followers.append(fc)