diff --git a/src/controllers/OrganizationUnauthorizeController.ts b/src/controllers/OrganizationUnauthorizeController.ts index dc119d1c..fd28b769 100644 --- a/src/controllers/OrganizationUnauthorizeController.ts +++ b/src/controllers/OrganizationUnauthorizeController.ts @@ -186,7 +186,7 @@ export class OrganizationUnauthorizeController extends Controller { posType: item.current_holder.posType.posTypeName, posLevel: item.current_holder.posLevel.posLevelName, posExecutive: posExecutive, - amount: amount ? amount : 0, + amount: amount ? amount : null, rootId: item.orgRootId, root: item.orgRoot?.orgRootName ? item.orgRoot.orgRootName : null, child1Id: item.orgChild1Id, diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 5b78ccfa..3ca0eef7 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -1043,7 +1043,7 @@ export class ProfileController extends Controller { posType: item.current_holder.posType.posTypeName, posLevel: item.current_holder.posLevel.posLevelName, posExecutive: posExecutive, - amount: amount ? amount : 0, + amount: amount ? amount : null, // revisionId: item.orgRevisionId, rootId: item.orgRootId, root: item.orgRoot?.orgRootName ? item.orgRoot.orgRootName : null,