From 491501c618223b3da68fcb6410bb537ce382d86b Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 4 Jan 2023 11:31:52 +0800 Subject: [PATCH] errCode --- internal/rpc/friend/friend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/friend/friend.go b/internal/rpc/friend/friend.go index 586fd0305..412f858da 100644 --- a/internal/rpc/friend/friend.go +++ b/internal/rpc/friend/friend.go @@ -136,7 +136,7 @@ func (s *friendServer) AddBlacklist(ctx context.Context, req *pbFriend.AddBlackl } chat.BlackAddedNotification(req) - return &pbFriend.AddBlacklistResp{CommonResp: &sdkws.CommonResp{}}, nil + return &pbFriend.AddBlacklistResp{CommonResp: constant.Error2CommResp(constant.ErrNone, nil)}, nil } func (s *friendServer) AddFriend(ctx context.Context, req *pbFriend.AddFriendReq) (*pbFriend.AddFriendResp, error) {