From 26f0234e3d8a3d2cfa5ca6eccab777257b6ffd1b Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Mon, 15 Nov 2021 10:18:59 +0800 Subject: [PATCH] config modify --- internal/rpc/friend/add_friend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/friend/add_friend.go b/internal/rpc/friend/add_friend.go index 615b05170..56639f90e 100644 --- a/internal/rpc/friend/add_friend.go +++ b/internal/rpc/friend/add_friend.go @@ -66,7 +66,7 @@ func (s *friendServer) ImportFriend(ctx context.Context, req *pbFriend.ImportFri } if !utils.IsContain(claims.UID, config.Config.Manager.AppManagerUid) { - log.Error(req.Token, req.OperationID, "not manager uid", claims.UID) + log.NewError(req.OperationID, "not manager uid", claims.UID) c.ErrorCode = config.ErrAddFriend.ErrCode c.ErrorMsg = "not authorized" return &pbFriend.ImportFriendResp{CommonResp: &c, FailedUidList: req.UidList}, nil