From 0203a9105f622bcf5b51f72ea646f9b547216917 Mon Sep 17 00:00:00 2001 From: harid Date: Wed, 21 Jan 2026 16:09:03 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=81=E0=B8=88.=20=E0=B9=84=E0=B8=A1?= =?UTF-8?q?=E0=B9=88=E0=B9=80=E0=B8=AB=E0=B9=87=E0=B8=99=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=8A=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=9C=E0=B8=B9?= =?UTF-8?q?=E0=B9=89=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=9C=E0=B9=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=99=E0=B8=AB=E0=B8=A5=E0=B8=B1=E0=B8=87=E0=B8=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=81=E0=B9=80=E0=B8=9C=E0=B8=A2=E0=B9=81=E0=B8=9E=E0=B8=A3?= =?UTF-8?q?=E0=B9=88=E0=B9=82=E0=B8=84=E0=B8=A3=E0=B8=87=E0=B8=AA=E0=B8=A3?= =?UTF-8?q?=E0=B9=89=E0=B8=B2=E0=B8=87=20Task=20#2219?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ProfileController.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }); }