Fixed: Errors after importing episodes

pull/4/head
Mark McDowall 11 years ago
parent a550e94fee
commit a72e70fa27

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

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

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

Loading…
Cancel
Save