diff --git a/src/controllers/OrganizationDotnetController.ts b/src/controllers/OrganizationDotnetController.ts index 22aae94c..ce20cbf1 100644 --- a/src/controllers/OrganizationDotnetController.ts +++ b/src/controllers/OrganizationDotnetController.ts @@ -636,6 +636,7 @@ export class OrganizationDotnetController extends Controller { orgChild2Id: org?.child2 ?? "", orgChild3Id: org?.child3 ?? "", orgChild4Id: org?.child4 ?? "", + current_holderId: Not(IsNull()), }, }); @@ -659,6 +660,7 @@ export class OrganizationDotnetController extends Controller { orgChild2Id: org?.child2 ?? "", orgChild3Id: org?.child3 ?? "", orgChild4Id: IsNull(), + current_holderId: Not(IsNull()), }, }); if (pos) { @@ -681,6 +683,7 @@ export class OrganizationDotnetController extends Controller { orgChild2Id: org?.child2 ?? "", orgChild3Id: IsNull(), orgChild4Id: IsNull(), + current_holderId: Not(IsNull()), }, }); if (pos) { @@ -703,6 +706,7 @@ export class OrganizationDotnetController extends Controller { orgChild2Id: IsNull(), orgChild3Id: IsNull(), orgChild4Id: IsNull(), + current_holderId: Not(IsNull()), }, }); if (pos) { @@ -719,11 +723,13 @@ export class OrganizationDotnetController extends Controller { orgRevisionIsCurrent: true, orgRevisionIsDraft: false, }, + isDirector: true, orgRootId: org?.root ?? "", orgChild1Id: IsNull(), orgChild2Id: IsNull(), orgChild3Id: IsNull(), orgChild4Id: IsNull(), + current_holderId: Not(IsNull()), }, }); if (pos) { @@ -852,6 +858,7 @@ export class OrganizationDotnetController extends Controller { profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null, profileType: "OFFICER", }; + console.log("11111111111111131"); return new HttpSuccess(mapProfile); }