From f5f5cea184532c104e73b7b99b35c6da29bbc03f Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 23 Jan 2024 22:20:43 +0300 Subject: [PATCH] load-shouts-feed --- resolvers/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/reader.py b/resolvers/reader.py index b31706a8..3066a6e8 100644 --- a/resolvers/reader.py +++ b/resolvers/reader.py @@ -221,7 +221,7 @@ async def load_shouts_feed(_, info, options): select(Shout.id) .where(Shout.id == ShoutAuthor.shout) .where(Shout.id == ShoutTopic.shout) - .where((ShoutAuthor.user.in_(reader_followed_authors)) | (ShoutTopic.topic.in_(reader_followed_topics))) + .where((ShoutAuthor.author.in_(reader_followed_authors)) | (ShoutTopic.topic.in_(reader_followed_topics))) ) q = (