mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Look ma, history!
This commit is contained in:
@@ -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>>();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user