mirror of https://github.com/Sonarr/Sonarr
Fixed: Errors after importing episodes
This commit is contained in:
parent
a550e94fee
commit
a72e70fa27
|
@ -16,7 +16,6 @@ namespace NzbDrone.Api.Episodes
|
||||||
|
|
||||||
GetResourceAll = GetEpisodes;
|
GetResourceAll = GetEpisodes;
|
||||||
UpdateResource = SetMonitored;
|
UpdateResource = SetMonitored;
|
||||||
GetResourceById = GetEpisode;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<EpisodeResource> GetEpisodes()
|
private List<EpisodeResource> GetEpisodes()
|
||||||
|
|
|
@ -26,6 +26,8 @@ namespace NzbDrone.Api.Episodes
|
||||||
: base(commandExecutor, resource)
|
: base(commandExecutor, resource)
|
||||||
{
|
{
|
||||||
_episodeService = episodeService;
|
_episodeService = episodeService;
|
||||||
|
|
||||||
|
GetResourceById = GetEpisode;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected EpisodeResource GetEpisode(int id)
|
protected EpisodeResource GetEpisode(int id)
|
||||||
|
|
|
@ -161,7 +161,7 @@ define(
|
||||||
seasonFolder: seasonFolder,
|
seasonFolder: seasonFolder,
|
||||||
seriesType: seriesType
|
seriesType: seriesType
|
||||||
}, { silent: true });
|
}, { silent: true });
|
||||||
|
|
||||||
this.model.setSeasonPass(startingSeason);
|
this.model.setSeasonPass(startingSeason);
|
||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
Loading…
Reference in New Issue