mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
fix: set name type to be min 1 character
This commit is contained in:
parent
2099bbea73
commit
bc8fd3e353
@ -20,7 +20,7 @@ const customJoi = joi.extend(j => ({
|
||||
|
||||
const nameType = customJoi
|
||||
.isUrlFriendly()
|
||||
.min(2)
|
||||
.min(1)
|
||||
.max(100)
|
||||
.required();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user