From 2ee87c975a2ff19936dd480684dc3029d9bbb7b6 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 28 Mar 2024 14:58:47 +0300 Subject: [PATCH] get_author-follows-fixed --- resolvers/author.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resolvers/author.py b/resolvers/author.py index c34d8d80..01ed93ef 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -173,10 +173,10 @@ async def get_author_follows(_, _info, slug='', user=None, author_id=0): author_query = author_query.filter(Author.id == author_id) else: raise ValueError('One of slug, user, or author_id must be provided') - logger.debug(author_query) + # logger.debug(author_query) [author] = local_session().execute(author_query) if isinstance(author, Author): - # logger.debug(author.dict()) + logger.debug(author.dict()) author_id = author.id.scalar() rkey = f'author:{author_id}:follows-authors' logger.debug(f'getting {author_id} follows authors')