Skip to content

Commit

Permalink
DEV-613: Fix mapping for name
Browse files Browse the repository at this point in the history
  • Loading branch information
mareg committed Oct 2, 2024
1 parent ff6adec commit 91389b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public DataSharingProfile()
CreateMap<Persistence.FormQuestion, FormQuestion>()
.ForMember(m => m.Type, o => o.MapFrom<CustomFormQuestionTypeResolver>())
.ForMember(m => m.Title, o => o.MapFrom(m => m.Title))
.ForMember(m => m.Name, o => o.MapFrom(m => m.Guid))
.ForMember(m => m.Name, o => o.MapFrom(m => m.Name))
.ForMember(m => m.Text, o => o.MapFrom(m => m.Description))
.ForMember(m => m.IsRequired, o => o.MapFrom(m => m.IsRequired))
.ForMember(m => m.SectionName, o => o.MapFrom(m => m.Section.Title))
Expand Down

0 comments on commit 91389b1

Please sign in to comment.