mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-19 12:47:06 +08:00
fix bug: set friend mark args error
This commit is contained in:
parent
aba2771372
commit
03486cd27c
@ -152,9 +152,6 @@ func (x *SetFriendRemarkReq) Check() error {
|
||||
if x.FriendUserID == "" {
|
||||
return errs.ErrArgs.Wrap("fromUserID is empty")
|
||||
}
|
||||
if x.Remark == "" {
|
||||
return errs.ErrArgs.Wrap("remark is empty")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user