diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index e084d6ed..18a74e5c 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -7658,7 +7658,7 @@ export class ProfileController extends Controller { }, orgRevisionId: revisionId, }, - relations: ["orgChild1"], + relations: ["orgRoot", "orgChild1"], }); if (posMasters == null) { return new HttpSuccess({ @@ -7668,6 +7668,7 @@ export class ProfileController extends Controller { child2Id: null, child3Id: null, child4Id: null, + rootDnaId: null }); } return new HttpSuccess({ @@ -7677,6 +7678,7 @@ export class ProfileController extends Controller { child2Id: posMasters?.orgChild2Id || null, child3Id: posMasters?.orgChild3Id || null, child4Id: posMasters?.orgChild4Id || null, + rootDnaId: posMasters?.orgRoot?.ancestorDNA || null }); }