update orgnization after update user
This commit is contained in:
@@ -454,9 +454,7 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "UpdateOrganizationUser failed", err.Error())
|
log.NewError(req.OperationID, utils.GetSelfFuncName(), "UpdateOrganizationUser failed", err.Error())
|
||||||
} else {
|
} else {
|
||||||
if out.ErrCode == 0 {
|
if out.ErrCode != 0 {
|
||||||
chat.OrganizationNotificationToAll(req.OpUserID, req.OperationID)
|
|
||||||
} else {
|
|
||||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "grpc resp: ", out)
|
log.NewError(req.OperationID, utils.GetSelfFuncName(), "grpc resp: ", out)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user