diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fec63909..45a15765 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,3 @@ -fail_fast: true - repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 diff --git a/resolvers/reader.py b/resolvers/reader.py index a506626a..39e61a2d 100644 --- a/resolvers/reader.py +++ b/resolvers/reader.py @@ -343,7 +343,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0): if topic: shout_data['main_topic'] = topic authors = ( - session.query(Author) + session.query(Author, ShoutAuthor) .join( ShoutTopic, and_(