adding initial coverimage functionality

This commit is contained in:
Andrew Song 2021-01-03 19:50:10 -06:00
parent 2806beaae9
commit 451d459473
12 changed files with 1173 additions and 54 deletions

View file

@ -11,9 +11,7 @@ namespace API.Helpers
{
CreateMap<LibraryDto, Library>();
CreateMap<Volume, VolumeDto>()
.ForMember(dest => dest.Files,
opt => opt.MapFrom(src => src.Files.Select(x => x.FilePath).ToList()));
CreateMap<Volume, VolumeDto>();
CreateMap<Series, SeriesDto>();