Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-10-18 19:15:46 +03:00
parent bda488e888
commit 03c1820cef

View file

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