mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-22 22:15:17 -04:00
Fixed signalR for Missing/Wanted
This commit is contained in:
@@ -14,14 +14,23 @@ namespace NzbDrone.Api.Episodes
|
||||
where TResource : EpisodeResource, new()
|
||||
where TModel : Episode
|
||||
{
|
||||
protected EpisodeModuleWithSignalR(ICommandExecutor commandExecutor)
|
||||
private readonly IEpisodeService _episodeService;
|
||||
|
||||
protected EpisodeModuleWithSignalR(IEpisodeService episodeService, ICommandExecutor commandExecutor)
|
||||
: base(commandExecutor)
|
||||
{
|
||||
_episodeService = episodeService;
|
||||
}
|
||||
|
||||
protected EpisodeModuleWithSignalR(ICommandExecutor commandExecutor, string resource)
|
||||
protected EpisodeModuleWithSignalR(IEpisodeService episodeService, ICommandExecutor commandExecutor, string resource)
|
||||
: base(commandExecutor, resource)
|
||||
{
|
||||
_episodeService = episodeService;
|
||||
}
|
||||
|
||||
protected EpisodeResource GetEpisode(int id)
|
||||
{
|
||||
return _episodeService.GetEpisode(id).InjectTo<EpisodeResource>();
|
||||
}
|
||||
|
||||
public void Handle(EpisodeGrabbedEvent message)
|
||||
|
||||
Reference in New Issue
Block a user