get_author-follows-fixed
All checks were successful
Deploy on push / deploy (push) Successful in 22s

This commit is contained in:
Untone 2024-03-28 14:57:21 +03:00
parent 054077c99e
commit cf6230e8d6

View File

@ -176,7 +176,7 @@ async def get_author_follows(_, _info, slug='', user=None, author_id=0):
logger.debug(author_query) logger.debug(author_query)
[author] = local_session().execute(author_query) [author] = local_session().execute(author_query)
if isinstance(author, Author): if isinstance(author, Author):
logger.debug(author.dict()) # logger.debug(author.dict())
author_id = author.id.scalar() author_id = author.id.scalar()
rkey = f'author:{author_id}:follows-authors' rkey = f'author:{author_id}:follows-authors'
logger.debug(f'getting {author_id} follows authors') logger.debug(f'getting {author_id} follows authors')