This commit is contained in:
syuilo 2018-11-09 03:52:03 +09:00
parent 4bc919a912
commit f05a688ac2
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -47,12 +47,8 @@ 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();