Update channels.js

This commit is contained in:
freearhey 2023-11-30 13:14:37 +03:00
parent da9e4098ee
commit 64dad53e3c

View file

@ -7,7 +7,7 @@ module.exports = {
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/) .regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
.required(), .required(),
name: Joi.string() name: Joi.string()
.regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s]+$/i) .regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s_—]+$/i)
.required(), .required(),
alt_names: Joi.array().items( alt_names: Joi.array().items(
Joi.string() Joi.string()