Skip to content

Commit

Permalink
feat: change GetUserStatus userIDs limit
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Sep 6, 2024
1 parent ddcd6c9 commit c3cc5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (x *GetUserStatusReq) Check() error {
if x.UserIDs == nil {
return errors.New("user-list is empty")
}
if len(x.UserIDs) > constant.MaxUsersStatusList {
if len(x.UserIDs) > constant.ParamMaxLength {
return errors.New("user-list is Limit Exceeded")
}
return nil
Expand Down

0 comments on commit c3cc5eb

Please sign in to comment.