Skip to content

Commit

Permalink
[fix] get civility in main contact
Browse files Browse the repository at this point in the history
  • Loading branch information
BettyB979 committed Sep 28, 2023
1 parent f4114a3 commit 951d94f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,9 @@ private SupportDto convertToDto(Support support) {
}

private ContactDto convertToDto(Contact contact) {
return modelMapper.map(contact, ContactDto.class);
ContactDto contactDto = modelMapper.map(contact, ContactDto.class);
contactDto.setCivility(contact.getGender());
return contactDto;
}

private SurveyUnitDto convertToDto(SurveyUnit surveyUnit) {
Expand Down

0 comments on commit 951d94f

Please sign in to comment.