mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: set name type to be min 1 character (#833)
This commit is contained in:
parent
395ea185f3
commit
5091f287f2
@ -20,7 +20,7 @@ const customJoi = joi.extend(j => ({
|
|||||||
|
|
||||||
const nameType = customJoi
|
const nameType = customJoi
|
||||||
.isUrlFriendly()
|
.isUrlFriendly()
|
||||||
.min(2)
|
.min(1)
|
||||||
.max(100)
|
.max(100)
|
||||||
.required();
|
.required();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user