Fixed: Delete files from Series Mass Editor not actually deleting files
This commit is contained in:
parent
0d1c2ac40c
commit
9868d96fec
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue