Fixed dynamic jobs with single property

This commit is contained in:
Mark McDowall 2012-10-19 21:36:47 -07:00
parent f9370a8aec
commit 887456b337
5 changed files with 9 additions and 9 deletions

View file

@ -90,7 +90,7 @@ namespace NzbDrone.Web.Controllers
_historyProvider.Delete(historyId);
//Queue a job to download the replacement episode
_jobProvider.QueueJob(typeof(EpisodeSearchJob), episodeId);
_jobProvider.QueueJob(typeof(EpisodeSearchJob), new { EpisodeId = episodeId });
return JsonNotificationResult.Queued("Episode search");
}