Skip to content

Commit

Permalink
Merge pull request #120 from icey-yu/fix-user-status
Browse files Browse the repository at this point in the history
feat: change GetUserStatus userIDs limit
  • Loading branch information
icey-yu authored Sep 6, 2024
2 parents ddcd6c9 + c3cc5eb commit 24d1689
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 24d1689

Please sign in to comment.