This commit is contained in:
syuilo 2018-03-28 19:09:42 +09:00
parent 12db5cde5f
commit d05bf07b3f

View file

@ -37,7 +37,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
}
// Delete favorite
await Favorite.deleteOne({
await Favorite.remove({
_id: exist._id
});