diff --git a/core/quorum/api.go b/core/quorum/api.go index 8565bda16..0eea0f792 100644 --- a/core/quorum/api.go +++ b/core/quorum/api.go @@ -192,7 +192,7 @@ func (s *QuorumControlsAPI) GetOrgDetails(orgId string) types.OrgDetailInfo { nodeList = append(nodeList, a) } } - return types.OrgDetailInfo{NodeList: nodeList, RoleList: roleList, AcctList: acctList} + return types.OrgDetailInfo{NodeList: nodeList, RoleList: roleList, AcctList: acctList, SubOrgList: types.OrgInfoMap.GetOrg(orgId).SubOrgList} } func (s *QuorumControlsAPI) AddOrg(orgId string, url string, acct common.Address, txa ethapi.SendTxArgs) ExecStatus { diff --git a/core/types/permissions_cache.go b/core/types/permissions_cache.go index a694b99a4..adb541488 100644 --- a/core/types/permissions_cache.go +++ b/core/types/permissions_cache.go @@ -77,9 +77,10 @@ type AccountInfo struct { } type OrgDetailInfo struct { - NodeList []NodeInfo - RoleList []RoleInfo - AcctList []AccountInfo + NodeList []NodeInfo + RoleList []RoleInfo + AcctList []AccountInfo + SubOrgList []string } type OrgStruct struct {