delete-reaction-update-stat-fix
All checks were successful
Deploy on push / deploy (push) Successful in 24s
All checks were successful
Deploy on push / deploy (push) Successful in 24s
This commit is contained in:
parent
ce90fedacb
commit
ceeeb23c26
|
@ -334,7 +334,7 @@ async def delete_reaction(_, info, reaction_id: int):
|
|||
|
||||
# обновление счетчика комментариев в кеше
|
||||
if str(r.kind) == ReactionKind.COMMENT.value:
|
||||
await update_author_stat(author)
|
||||
await update_author_stat(author.id)
|
||||
await notify_reaction(reaction_dict, "delete")
|
||||
|
||||
return {"error": None, "reaction": reaction_dict}
|
||||
|
|
Loading…
Reference in New Issue
Block a user