mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-29 18:23:40 +08:00
update orgnization after update user
This commit is contained in:
parent
5fc6f78555
commit
69da4410dc
@ -1414,7 +1414,7 @@ func (s *groupServer) GetGroups(_ context.Context, req *pbGroup.GetGroupsReq) (*
|
|||||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetGroups error", err.Error())
|
log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetGroups error", err.Error())
|
||||||
return resp, http.WrapError(constant.ErrDB)
|
return resp, http.WrapError(constant.ErrDB)
|
||||||
}
|
}
|
||||||
|
resp.GroupNum, err = imdb.GetGroupsCountNum(db.Group{})
|
||||||
resp.Pagination.PageNumber = req.Pagination.PageNumber
|
resp.Pagination.PageNumber = req.Pagination.PageNumber
|
||||||
resp.Pagination.ShowNumber = req.Pagination.ShowNumber
|
resp.Pagination.ShowNumber = req.Pagination.ShowNumber
|
||||||
for _, v := range groups {
|
for _, v := range groups {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user