mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Fix bug
This commit is contained in:
parent
12db5cde5f
commit
d05bf07b3f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete favorite
|
// Delete favorite
|
||||||
await Favorite.deleteOne({
|
await Favorite.remove({
|
||||||
_id: exist._id
|
_id: exist._id
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue