update orgnization after update user

pull/351/head
wangchuxiao 2 years ago
parent a37d82e2dd
commit 15e0a7aa38

@ -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)
} }
} }

Loading…
Cancel
Save