mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Look ma, history!
This commit is contained in:
parent
3602822572
commit
d320c2b6a9
12 changed files with 62 additions and 56 deletions
|
@ -45,9 +45,7 @@ namespace NzbDrone.Api
|
|||
Mapper.CreateMap<PagingSpec<Episode>, PagingResource<EpisodeResource>>();
|
||||
|
||||
//History
|
||||
Mapper.CreateMap<Core.History.History, HistoryResource>()
|
||||
.ForMember(dest => dest.Episode, opt => opt.Ignore())
|
||||
.ForMember(dest => dest.Series, opt => opt.Ignore());
|
||||
Mapper.CreateMap<Core.History.History, HistoryResource>();
|
||||
Mapper.CreateMap<PagingSpec<Core.History.History>, PagingResource<HistoryResource>>();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue