Skip to content

Commit

Permalink
add back a la Magnus
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad committed Oct 7, 2024
1 parent 741f59a commit ca7434f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public MappingProfile()
CreateMap<UpdateDialogTransmissionAttachmentDto, DialogTransmissionAttachment>();

CreateMap<UpdateDialogTransmissionAttachmentUrlDto, AttachmentUrl>()
.ForMember(x => x.Id, opt => opt.Ignore())
.ForMember(dest => dest.ConsumerType, opt => opt.Ignore())
.ForMember(dest => dest.ConsumerTypeId, opt => opt.MapFrom(src => src.ConsumerType));

Expand Down

0 comments on commit ca7434f

Please sign in to comment.