From c159490413648893bbc84abbe4f3f36e53b5b83d Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 29 Mar 2024 03:03:37 +0300 Subject: [PATCH] rating-fix-9 --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index 989ffe77..84eb06c1 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -65,7 +65,7 @@ async def get_author(_, _info, slug='', author_id=0): author_id = author.id logger.debug(f'found @{slug} with id {author_id}') if not author.stat or not author.stat.get('rating_shouts'): - [author] = get_with_stat(author_query, with_rating=True) + [author] = get_with_stat(author_query) # FIXME: with_rating=True) if author: await set_author_cache(author.dict()) logger.debug('updated author stored in cache')