diff --git a/internal/rpc/organization/organization.go b/internal/rpc/organization/organization.go index f1fc0e0a4..f4afd4c06 100644 --- a/internal/rpc/organization/organization.go +++ b/internal/rpc/organization/organization.go @@ -470,7 +470,7 @@ func (s *organizationServer) GetDepartmentMember(ctx context.Context, req *rpc.G return &resp, nil } -func (s *organizationServer) GetDepartmentRelatedGroupIDList(ctx context.Context, req rpc.GetDepartmentRelatedGroupIDListReq) (resp *rpc.GetDepartmentRelatedGroupIDListResp, err error) { +func (s *organizationServer) GetDepartmentRelatedGroupIDList(ctx context.Context, req *rpc.GetDepartmentRelatedGroupIDListReq) (resp *rpc.GetDepartmentRelatedGroupIDListResp, err error) { log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) resp = &rpc.GetDepartmentRelatedGroupIDListResp{} groupIDList, err := imdb.GetDepartmentRelatedGroupIDList(req.DepartmentIDList)