fix-load-reactions-1
This commit is contained in:
parent
48826cf7a0
commit
e34f54f865
|
@ -201,7 +201,7 @@ async def delete_reaction(_, info, rid):
|
|||
|
||||
def prepare_reactions(q, by, user=None):
|
||||
if by.get("shout"):
|
||||
q = q.filter(Shout.slug == by["slug"])
|
||||
q = q.filter(Shout.slug == by["shout"])
|
||||
else:
|
||||
if by.get("reacted"):
|
||||
if user:
|
||||
|
|
Loading…
Reference in New Issue
Block a user