This commit is contained in:
wangchuxiao
2023-05-16 16:50:16 +08:00
parent cad7b76d97
commit 6b6c6cabaa
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -3,7 +3,6 @@ package friend
import "github.com/OpenIMSDK/Open-IM-Server/pkg/errs"
func (m *ApplyToAddFriendReq) Check() error {
*m = ApplyToAddFriendReq{}
if m.GetToUserID() == "" {
return errs.ErrArgs.Wrap("get toUserID is empty")
}