From 30f5b09a51ae809a2363c2d374c9e05b5c6f4953 Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 6 Mar 2024 14:27:30 +0300 Subject: [PATCH] typo-fix --- resolvers/reaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/reaction.py b/resolvers/reaction.py index b0c7b103..451fb3d3 100644 --- a/resolvers/reaction.py +++ b/resolvers/reaction.py @@ -441,7 +441,7 @@ async def reacted_shouts_updates(follower_id: int, limit=50, offset=0) -> List[S # Shouts where follower reacted q2 = ( select(Shout) - .join(Reaction, Reaction.shout_id == Shout.id) + .join(Reaction, Reaction.shout == Shout.id) .options(joinedload(Shout.reactions), joinedload(Shout.authors)) .filter(Reaction.created_by == follower_id) .group_by(Shout.id)