From c0798b8eb376af4232340d44f7719574d5d8b4a6 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 20 Apr 2013 10:07:15 -0700 Subject: [PATCH] fixed series module --- NzbDrone.Api/Series/SeriesModule.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/NzbDrone.Api/Series/SeriesModule.cs b/NzbDrone.Api/Series/SeriesModule.cs index 43e40d9a2..5e0314a52 100644 --- a/NzbDrone.Api/Series/SeriesModule.cs +++ b/NzbDrone.Api/Series/SeriesModule.cs @@ -6,24 +6,20 @@ using AutoMapper; using FluentValidation; using Nancy; using NzbDrone.Api.Extensions; -using NzbDrone.Api.REST; using NzbDrone.Common; using NzbDrone.Core.Tv; -using NzbDrone.Core.Jobs; using NzbDrone.Core.Model; namespace NzbDrone.Api.Series { - public class SeriesModule : RestModule + public class SeriesModule : NzbDroneApiModule//: RestModule { private readonly ISeriesService _seriesService; - private readonly IJobController _jobProvider; - public SeriesModule(ISeriesService seriesService, IJobController jobProvider) + public SeriesModule(ISeriesService seriesService) : base("/Series") { _seriesService = seriesService; - _jobProvider = jobProvider; Get["/"] = x => AllSeries(); Get["/{id}"] = x => GetSeries((int)x.id); Post["/"] = x => AddSeries();