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