Skip to content

Commit

Permalink
fix: The length of the tag should between 1 and 50 (#8187) (#8188)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwzhuhao authored Sep 10, 2024
1 parent 2d69080 commit 86f7f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/console/tag/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def _validate_name(name):
if not name or len(name) < 1 or len(name) > 40:
if not name or len(name) < 1 or len(name) > 50:
raise ValueError("Name must be between 1 to 50 characters.")
return name

Expand Down

0 comments on commit 86f7f24

Please sign in to comment.