mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-13 13:35:59 +08:00
rpc
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user