[hotfix] return deleted reaction ID
This commit is contained in:
parent
d4aebef076
commit
50a76e8534
|
@ -205,7 +205,9 @@ async def delete_reaction(_, info, reaction=None):
|
|||
return {"error": "access denied"}
|
||||
r.deletedAt = datetime.now(tz=timezone.utc)
|
||||
session.commit()
|
||||
return {}
|
||||
return {
|
||||
"reaction": r
|
||||
}
|
||||
|
||||
|
||||
@query.field("loadReactionsBy")
|
||||
|
|
Loading…
Reference in New Issue
Block a user