mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
Converted jobs to dynamic
This commit is contained in:
parent
93402f4932
commit
a4dde81ceb
42 changed files with 166 additions and 170 deletions
|
@ -41,8 +41,7 @@ namespace NzbDrone.Web.Controllers
|
|||
var queue = _jobProvider.Queue.Select(c => new JobQueueItemModel
|
||||
{
|
||||
Name = c.JobType.Name,
|
||||
TargetId = c.TargetId,
|
||||
SecondaryTargetId = c.SecondaryTargetId
|
||||
Options = c.Options
|
||||
});
|
||||
|
||||
var serializedQueue = new JavaScriptSerializer().Serialize(queue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue