1
0
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:
Fredrik Oseberg 2021-05-04 12:37:01 +02:00
parent 2099bbea73
commit bc8fd3e353

View File

@ -20,7 +20,7 @@ const customJoi = joi.extend(j => ({
const nameType = customJoi
.isUrlFriendly()
.min(2)
.min(1)
.max(100)
.required();