mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-10 20:15:59 +08:00
fix get groups bug (#562)
* fix get group bug Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’> * bug * api Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’> * Delete start.bat * Delete build.cmd --------- Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’> Co-authored-by: ‘hanzhixiao’ <‘709674996@qq.com’>
This commit is contained in:
@@ -196,9 +196,6 @@ func (x *GetGroupAllMemberReq) Check() error {
|
||||
}
|
||||
|
||||
func (x *GetGroupsReq) Check() error {
|
||||
if x.GroupID == "" {
|
||||
return errs.ErrArgs.Wrap("groupID is empty")
|
||||
}
|
||||
if x.Pagination == nil {
|
||||
return errs.ErrArgs.Wrap("pagination is empty")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user