Update channels.js

This commit is contained in:
Aleksandr Statciuk 2023-01-15 13:26:46 +03:00
parent b50fe000f5
commit f79a133170

View file

@ -24,7 +24,7 @@ module.exports = {
.regex(/^[A-Z]{2}-[A-Z0-9]{1,3}$/) .regex(/^[A-Z]{2}-[A-Z0-9]{1,3}$/)
.allow(null), .allow(null),
city: Joi.string() city: Joi.string()
.regex(/^[\sa-zA-Z\u00C0-\u00FF0-9'-]+$/) .regex(/^[^",]+$/)
.allow(null), .allow(null),
broadcast_area: Joi.array().items( broadcast_area: Joi.array().items(
Joi.string() Joi.string()