mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
Fixed signalR for Missing/Wanted
This commit is contained in:
@@ -3,7 +3,6 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NzbDrone.Api.Episodes;
|
||||
using NzbDrone.Api.Extensions;
|
||||
using NzbDrone.Api.Mapping;
|
||||
using NzbDrone.Core.Messaging.Commands;
|
||||
using NzbDrone.Core.Tv;
|
||||
|
||||
@@ -17,7 +16,7 @@ namespace NzbDrone.Api.Calendar
|
||||
public CalendarModule(ICommandExecutor commandExecutor,
|
||||
IEpisodeService episodeService,
|
||||
SeriesRepository seriesRepository)
|
||||
: base(commandExecutor, "calendar")
|
||||
: base(episodeService, commandExecutor, "calendar")
|
||||
{
|
||||
_episodeService = episodeService;
|
||||
_seriesRepository = seriesRepository;
|
||||
@@ -26,11 +25,6 @@ namespace NzbDrone.Api.Calendar
|
||||
GetResourceById = GetEpisode;
|
||||
}
|
||||
|
||||
private EpisodeResource GetEpisode(int id)
|
||||
{
|
||||
return _episodeService.GetEpisode(id).InjectTo<EpisodeResource>();
|
||||
}
|
||||
|
||||
private List<EpisodeResource> GetCalendar()
|
||||
{
|
||||
var start = DateTime.Today;
|
||||
|
Reference in New Issue
Block a user