Fixed: Delete files from Series Mass Editor not actually deleting files

This commit is contained in:
Mark McDowall 2019-11-26 17:38:49 -08:00
parent 0d1c2ac40c
commit 9868d96fec
2 changed files with 2 additions and 1 deletions

View File

@ -106,7 +106,7 @@ namespace Sonarr.Api.V3.Series
foreach (var seriesId in resource.SeriesIds)
{
_seriesService.DeleteSeries(seriesId, false);
_seriesService.DeleteSeries(seriesId, resource.DeleteFiles);
}
return new object();

View File

@ -15,6 +15,7 @@ namespace Sonarr.Api.V3.Series
public List<int> Tags { get; set; }
public ApplyTags ApplyTags { get; set; }
public bool MoveFiles { get; set; }
public bool DeleteFiles { get; set; }
}
public enum ApplyTags