get_author-follows-debгп
All checks were successful
Deploy on push / deploy (push) Successful in 21s
All checks were successful
Deploy on push / deploy (push) Successful in 21s
This commit is contained in:
parent
95c54ff0c4
commit
6c9fd23e67
|
@ -173,6 +173,7 @@ async def get_author_follows(_, _info, slug='', user=None, author_id=0):
|
||||||
author_query = author_query.filter(Author.id == author_id)
|
author_query = author_query.filter(Author.id == author_id)
|
||||||
else:
|
else:
|
||||||
raise ValueError('One of slug, user, or author_id must be provided')
|
raise ValueError('One of slug, user, or author_id must be provided')
|
||||||
|
logger.debug(author_query)
|
||||||
[author] = local_session().execute(author_query)
|
[author] = local_session().execute(author_query)
|
||||||
logger.debug(author.dict())
|
logger.debug(author.dict())
|
||||||
if isinstance(author, Author):
|
if isinstance(author, Author):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user