Swagger Fix + Imprints now showing (#3032)

This commit is contained in:
Joe Milazzo 2024-07-01 07:22:48 -05:00 committed by GitHub
parent e2fe53187e
commit ce0c9a3364
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 759 additions and 30 deletions

View file

@ -117,6 +117,10 @@ public class AutoMapperProfiles : Profile
opt =>
opt.MapFrom(src =>
src.People.Where(p => p.Role == PersonRole.Inker).OrderBy(p => p.NormalizedName)))
.ForMember(dest => dest.Imprints,
opt =>
opt.MapFrom(src =>
src.People.Where(p => p.Role == PersonRole.Imprint).OrderBy(p => p.NormalizedName)))
.ForMember(dest => dest.Letterers,
opt =>
opt.MapFrom(src =>