Fixed: Errors after importing episodes

This commit is contained in:
Mark McDowall 2014-07-06 21:08:58 -07:00
parent a550e94fee
commit a72e70fa27
3 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,6 @@ namespace NzbDrone.Api.Episodes
GetResourceAll = GetEpisodes;
UpdateResource = SetMonitored;
GetResourceById = GetEpisode;
}
private List<EpisodeResource> GetEpisodes()

View File

@ -26,6 +26,8 @@ namespace NzbDrone.Api.Episodes
: base(commandExecutor, resource)
{
_episodeService = episodeService;
GetResourceById = GetEpisode;
}
protected EpisodeResource GetEpisode(int id)

View File

@ -161,7 +161,7 @@ define(
seasonFolder: seasonFolder,
seriesType: seriesType
}, { silent: true });
this.model.setSeasonPass(startingSeason);
var self = this;