1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

Converted jobs to dynamic

This commit is contained in:
Mark McDowall
2012-09-10 12:04:17 -07:00
parent 93402f4932
commit a4dde81ceb
42 changed files with 166 additions and 170 deletions
+1 -2
View File
@@ -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);