get_author-follows-debug-2
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:
parent
6c9fd23e67
commit
3d28370362
|
@ -175,8 +175,8 @@ async def get_author_follows(_, _info, slug='', user=None, author_id=0):
|
|||
raise ValueError('One of slug, user, or author_id must be provided')
|
||||
logger.debug(author_query)
|
||||
[author] = local_session().execute(author_query)
|
||||
logger.debug(author.dict())
|
||||
if isinstance(author, Author):
|
||||
logger.debug(author.dict())
|
||||
author_id = author.id.scalar()
|
||||
rkey = f'author:{author_id}:follows-authors'
|
||||
logger.debug(f'getting {author_id} follows authors')
|
||||
|
|
Loading…
Reference in New Issue
Block a user