craete-reaction-fix
This commit is contained in:
parent
8eb36f0cc3
commit
3e6354afed
|
@ -252,7 +252,7 @@ async def create_reaction(_, info, reaction):
|
||||||
|
|
||||||
# Reactions auto-following
|
# Reactions auto-following
|
||||||
reactions_follow(author.id, reaction["shout"], True)
|
reactions_follow(author.id, reaction["shout"], True)
|
||||||
|
rdict = r.dict()
|
||||||
rdict["shout"] = shout.dict()
|
rdict["shout"] = shout.dict()
|
||||||
rdict["created_by"] = author.dict()
|
rdict["created_by"] = author.dict()
|
||||||
rdict["stat"] = {"commented": 0, "reacted": 0, "rating": 0}
|
rdict["stat"] = {"commented": 0, "reacted": 0, "rating": 0}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user