mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-15 21:06:24 +01:00
Add list exclusion on artist delete
This commit is contained in:
parent
72267d3cb4
commit
299c84c758
2 changed files with 3 additions and 2 deletions
|
|
@ -95,9 +95,9 @@ public IActionResult SaveAll([FromBody] ArtistEditorResource resource)
|
|||
[HttpDelete]
|
||||
public object DeleteArtist([FromBody] ArtistEditorResource resource)
|
||||
{
|
||||
_artistService.DeleteArtists(resource.ArtistIds, resource.DeleteFiles);
|
||||
_artistService.DeleteArtists(resource.ArtistIds, resource.DeleteFiles, resource.AddImportListExclusion);
|
||||
|
||||
return new object();
|
||||
return new { };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,5 +15,6 @@ public class ArtistEditorResource
|
|||
public ApplyTags ApplyTags { get; set; }
|
||||
public bool MoveFiles { get; set; }
|
||||
public bool DeleteFiles { get; set; }
|
||||
public bool AddImportListExclusion { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue