Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-05-25 00:37:36 +03:00
parent 7e6989dbbd
commit 72b7ea5c49

View file

@ -10,6 +10,7 @@ module.exports = {
.required(), .required(),
native_name: Joi.string() native_name: Joi.string()
.regex(/^[^",]+$/) .regex(/^[^",]+$/)
.invalid(Joi.ref('name'))
.allow(null), .allow(null),
network: Joi.string().allow(null), network: Joi.string().allow(null),
country: Joi.string() country: Joi.string()