Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/23e9c725f3092f64e0d3ffda1a0e780eb6a2d45f You should set ROOT_URL correctly, otherwise the web may not work correctly.

CalendarModule uses injectTo instead of AutoMapper

pull/2/head
Mark McDowall 12 years ago
parent b12b8724b9
commit 23e9c725f3

@ -4,6 +4,7 @@ using AutoMapper;
using Nancy;
using NzbDrone.Api.Episodes;
using NzbDrone.Api.Extensions;
using NzbDrone.Api.Mapping;
using NzbDrone.Core.Tv;
namespace NzbDrone.Api.Calendar
@ -32,7 +33,7 @@ namespace NzbDrone.Api.Calendar
if(queryEnd.HasValue) end = DateTime.Parse(queryEnd.Value);
var episodes = _episodeService.EpisodesBetweenDates(start, end);
return Mapper.Map<List<Episode>, List<EpisodeResource>>(episodes).AsResponse();
return episodes.InjectTo<List<EpisodeResource>>().AsResponse();
}
}
}
Loading…
Cancel
Save