forked from dbroqua/MusicTopus
{BUGFIX} Suppression d'un album depuis la liste
This commit is contained in:
parent
4ea7b42d52
commit
e28f382c6c
2 changed files with 13 additions and 14 deletions
|
@ -297,7 +297,7 @@ Publié automatiquement via #musictopus`;
|
|||
*/
|
||||
async deleteOne() {
|
||||
const res = await AlbumsModel.findOneAndDelete({
|
||||
user: this.req.user._id,
|
||||
User: this.req.user._id,
|
||||
_id: this.req.params.itemId,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue