Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-03-01 12:26:55 +03:00
parent c15c8c1651
commit e827705b81

View file

@ -7,6 +7,9 @@ module.exports = {
name: Joi.string()
.regex(/^[\sa-zA-Z\u00C0-\u00FF0-9-!:&.+'/»#%°$@?()]+$/)
.required(),
native_name: Joi.string()
.regex(/^[^",]+$/)
.allow(null),
network: Joi.string().allow(null),
country: Joi.string()
.regex(/^[A-Z]{2}$/)