mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
[API] Fix #3169
This commit is contained in:
parent
c582d9e7f9
commit
380542db8e
1 changed files with 2 additions and 6 deletions
|
@ -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 a new issue