author-follows-result-type-debug
All checks were successful
Deploy on push / deploy (push) Successful in 22s
All checks were successful
Deploy on push / deploy (push) Successful in 22s
This commit is contained in:
@@ -177,7 +177,8 @@ async def get_author_follows(_, _info, slug='', user=None, author_id=0):
|
||||
result = local_session().execute(author_query)
|
||||
logger.debug(result)
|
||||
[author] = result
|
||||
if isinstance(author, Author):
|
||||
logger.debug(author)
|
||||
if author and isinstance(author, Author):
|
||||
logger.debug(author.dict())
|
||||
author_id = author.id.scalar()
|
||||
rkey = f'author:{author_id}:follows-authors'
|
||||
|
Reference in New Issue
Block a user