Add list exclusion on artist delete

pull/4254/head
Bogdan 7 months ago
parent 72267d3cb4
commit 299c84c758

@ -95,9 +95,9 @@ namespace Lidarr.Api.V1.Artist
[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 @@ namespace Lidarr.Api.V1.Artist
public ApplyTags ApplyTags { get; set; }
public bool MoveFiles { get; set; }
public bool DeleteFiles { get; set; }
public bool AddImportListExclusion { get; set; }
}
}

Loading…
Cancel
Save