Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit 0132685

Browse files
committed
Fix male parent type connection
1 parent db3afe6 commit 0132685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/brapi/test/BrAPITestServer/service/germ/PedigreeService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public PedigreeNode convertFromGermplasmToPedigree(Germplasm germplasm) {
512512
PedigreeNodeParents father = new PedigreeNodeParents();
513513
father.setGermplasmDbId(fatherOpt.get().getId());
514514
father.setGermplasmName(fatherOpt.get().getGermplasmName());
515-
father.setParentType(ParentType.FEMALE);
515+
father.setParentType(ParentType.MALE);
516516
node.addParentsItem(father);
517517
}
518518

0 commit comments

Comments
 (0)