From 69da4410dcc8806a1b633cd0c801ef861ebf6f71 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 16 Aug 2022 15:07:19 +0800 Subject: [PATCH] update orgnization after update user --- internal/rpc/group/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 39e68d38f..430edafae 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -1414,7 +1414,7 @@ func (s *groupServer) GetGroups(_ context.Context, req *pbGroup.GetGroupsReq) (* log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetGroups error", err.Error()) return resp, http.WrapError(constant.ErrDB) } - + resp.GroupNum, err = imdb.GetGroupsCountNum(db.Group{}) resp.Pagination.PageNumber = req.Pagination.PageNumber resp.Pagination.ShowNumber = req.Pagination.ShowNumber for _, v := range groups {