mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Merge remote-tracking branch 'origin/dynamic-jobs'
This commit is contained in:
commit
db585b3bd7
52 changed files with 292 additions and 208 deletions
|
@ -91,9 +91,9 @@ namespace NzbDrone.Web.Controllers
|
|||
}
|
||||
|
||||
[HttpPost]
|
||||
public EmptyResult DeleteSeries(int seriesId, bool deleteFiles)
|
||||
public EmptyResult Delete(int seriesId, bool deleteFiles)
|
||||
{
|
||||
_jobProvider.QueueJob(typeof(DeleteSeriesJob), seriesId, Convert.ToInt32(deleteFiles));
|
||||
_jobProvider.QueueJob(typeof(DeleteSeriesJob), new { SeriesId = seriesId, DeleteFiles = deleteFiles });
|
||||
|
||||
return new EmptyResult();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue