mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-28 06:48:42 +09:00
[API] Fix #3169
This commit is contained in:
parent
4bc919a912
commit
f05a688ac2
@ -47,13 +47,9 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
||||
}
|
||||
|
||||
// Delete reaction
|
||||
await Reaction.update({
|
||||
await Reaction.remove({
|
||||
_id: exist._id
|
||||
}, {
|
||||
$set: {
|
||||
deletedAt: new Date()
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
res();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user