1
0
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:
Fredrik Strand Oseberg 2021-05-04 21:42:42 +02:00 committed by GitHub
parent 395ea185f3
commit 5091f287f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();