This commit is contained in:
syuilo 2018-11-09 03:52:03 +09:00
parent c582d9e7f9
commit 380542db8e

View File

@ -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();