removed regex

This commit is contained in:
Miodec 2022-11-18 23:40:05 +01:00
parent 1ab420b21b
commit 25883e3bc9

View file

@ -128,7 +128,7 @@ router.post(
"Incorrect source"
)
.required(),
comment: joi.string().allow("").regex(/^\w+$/).max(250).required(),
comment: joi.string().allow("").max(250).required(),
captcha: joi.string().required(),
},
}),