diff --git a/resolvers/author.py b/resolvers/author.py index 9e1bb1e9..488cd2ed 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -194,6 +194,7 @@ async def get_author_by_user_id(user_id: str): redis_key = f"user:{user_id}:author" res = await redis.execute("HGET", redis_key) if isinstance(res, dict) and res.get("id"): + logger.debug(f'got cached author: {res}') return res logger.info(f"getting author id for {user_id}")