Skip to content

Commit

Permalink
Bug: Medic course is loaded correctly now
Browse files Browse the repository at this point in the history
  • Loading branch information
dapolach committed Sep 18, 2024
1 parent b49d5fd commit 69851d4
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ interface MemberFullViewMapper extends Converter<Member, MemberApiDto> {
@Override
@Mapping(source = "registration", target = "registrationNumber")
@Mapping(target = "licences", source = ".")
@Mapping(target = "medicCourse", ignore = true)
MemberApiDto convert(Member source);

@Mapping(source = "trainerLicence", target = "trainer")
Original file line number Diff line number Diff line change
@@ -196,7 +196,7 @@ public int getId() {
return id;
}

public boolean hasMedicCourse() {
public boolean getMedicCourse() {
return medicCourse;
}

0 comments on commit 69851d4

Please sign in to comment.