Update channels.js

This commit is contained in:
freearhey 2023-11-23 19:38:26 +03:00
parent 419e8f0fcd
commit 6c13cf40b0

View file

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