mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
Fix bug
This commit is contained in:
parent
12db5cde5f
commit
d05bf07b3f
@ -37,7 +37,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
}
|
||||
|
||||
// Delete favorite
|
||||
await Favorite.deleteOne({
|
||||
await Favorite.remove({
|
||||
_id: exist._id
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user