reply-to-fix

This commit is contained in:
Untone 2024-05-27 19:39:48 +03:00
parent c90783f461
commit 7b72963b24

View File

@ -327,7 +327,7 @@ async def load_shouts_unrated(_, info, limit: int = 50, offset: int = 0):
Reaction,
and_(
Reaction.shout == Shout.id,
Reaction.replyTo.is_(None),
Reaction.reply_to.is_(None),
Reaction.kind.in_(
[ReactionKind.LIKE.value, ReactionKind.DISLIKE.value]
),