From d58bbe34990e9037d1cf0dc79b1601cafdcc4240 Mon Sep 17 00:00:00 2001 From: Untone Date: Sun, 25 Feb 2024 09:31:06 +0300 Subject: [PATCH] load-authors-by-rating --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index e224b4f2..e6270bc3 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -111,7 +111,7 @@ def load_authors_by(_, _info, by, limit, offset): q = q.limit(limit).offset(offset) - authors = get_authors_with_stat(q) + authors = get_authors_with_stat(q, ratings=True) return authors