mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 13:57:06 -04:00
Fixed: Delete files from Series Mass Editor not actually deleting files
This commit is contained in:
parent
0d1c2ac40c
commit
9868d96fec
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue