diff --git a/internal/api/user/user.go b/internal/api/user/user.go index 46e51af45..ad06838cf 100644 --- a/internal/api/user/user.go +++ b/internal/api/user/user.go @@ -205,7 +205,7 @@ func GetSelfUserInfo(c *gin.Context) { log.NewInfo(req.OperationID, utils.GetSelfFuncName(), updateUserInfoReq.String()) etcdConnCache := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImCacheName) cacheClient := cache.NewCacheClient(etcdConnCache) - := cacheClient.UpdateUserInfo(context.Background(), updateUserInfoReq) + cacheClient.UpdateUserInfo(context.Background(), updateUserInfoReq) //if err != nil { // log.NewError(req.OperationID, "UpdateUserInfo cache failed ", err.Error(), req.String()) // c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": "call rpc server failed: " + err.Error()})