This commit is contained in:
syuilo 2018-03-28 19:09:42 +09:00
parent 5d6ef4fa30
commit 650777634a

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
});