Skip to content

Commit

Permalink
[BUG] Fix min length error output (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
white-hat authored Feb 7, 2024
1 parent a88cdac commit 1c921d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slackblocks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def validate_string(
if min_length and length < min_length:
raise InvalidUsageError(
f"Argument to field `{field_name}` ({length} characters) "
f"is less than minimum length of {max_length} characters"
f"is less than minimum length of {min_length} characters"
)
if max_length and length > max_length:
raise InvalidUsageError(
Expand Down

0 comments on commit 1c921d4

Please sign in to comment.