mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
[API] Fix #3169
This commit is contained in:
parent
c582d9e7f9
commit
380542db8e
@ -47,13 +47,9 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Delete reaction
|
// Delete reaction
|
||||||
await Reaction.update({
|
await Reaction.remove({
|
||||||
_id: exist._id
|
_id: exist._id
|
||||||
}, {
|
});
|
||||||
$set: {
|
|
||||||
deletedAt: new Date()
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
res();
|
res();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user