mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-13 05:25:59 +08:00
parameter range error (#606)
* message for your changes Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’> * debug Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’> * Delete start.bat * Delete build.cmd * fix: parameter check Signed-off-by: hanzhixiao <709674996@qq.com> * fix: parameter check Signed-off-by: hanzhixiao <709674996@qq.com> --------- Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’> Signed-off-by: hanzhixiao <709674996@qq.com> Co-authored-by: ‘hanzhixiao’ <‘709674996@qq.com’>
This commit is contained in:
@@ -137,9 +137,6 @@ func (x *GetPaginationUsersReq) Check() error {
|
||||
}
|
||||
|
||||
func (x *UserRegisterReq) Check() error {
|
||||
if x.Secret == "" {
|
||||
return errs.ErrArgs.Wrap("Secret is empty")
|
||||
}
|
||||
if x.Users == nil {
|
||||
return errs.ErrArgs.Wrap("Users is empty")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user