This commit is contained in:
syuilo 2018-03-28 19:09:42 +09:00
parent 5d6ef4fa30
commit 650777634a
1 changed files with 1 additions and 1 deletions

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