mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
Removed extra injects that weren't needed.
Wrapped find series in try/catch to prevent a case where the series is in SceneMapping, but isn't in the users database. -Missed in last commit apparently.
This commit is contained in:
parent
f2df76783a
commit
ecd0fb50a8
3 changed files with 20 additions and 17 deletions
|
@ -12,15 +12,10 @@ namespace NzbDrone.Web.Controllers
|
|||
public class HistoryController : Controller
|
||||
{
|
||||
private readonly HistoryProvider _historyProvider;
|
||||
private readonly EpisodeProvider _episodeProvider;
|
||||
private readonly SeriesProvider _seriesProvider;
|
||||
|
||||
public HistoryController(HistoryProvider historyProvider, EpisodeProvider episodeProvider,
|
||||
SeriesProvider seriesProvider)
|
||||
public HistoryController(HistoryProvider historyProvider)
|
||||
{
|
||||
_historyProvider = historyProvider;
|
||||
_episodeProvider = episodeProvider;
|
||||
_seriesProvider = seriesProvider;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue