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; GetResourceAll = GetEpisodes;
UpdateResource = SetMonitored; UpdateResource = SetMonitored;
GetResourceById = GetEpisode;
} }
private List<EpisodeResource> GetEpisodes() private List<EpisodeResource> GetEpisodes()

View File

@ -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)

View File

@ -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;