Skip to content

Commit

Permalink
Remove maximum twitch id size
Browse files Browse the repository at this point in the history
Found channel having more than 8 digits xdd
  • Loading branch information
Vinrobot committed Aug 12, 2023
1 parent b04b5c0 commit 70d9697
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public void validate(final String value) {
super.validate(value);

final int length = value.length();
if (length == 0 || 8 < length) {
throw new ValidationFailedException("Twitch ID must be between 1 and 8 digits");
if (length == 0) {
throw new ValidationFailedException("Twitch ID cannot be empty");
}

try {
Expand Down

0 comments on commit 70d9697

Please sign in to comment.