Update channels.js

This commit is contained in:
freearhey 2023-11-19 10:23:27 +03:00
parent 88be80c7cf
commit e330d64dbc

View file

@ -29,7 +29,7 @@ module.exports = {
.allow(null),
broadcast_area: Joi.array().items(
Joi.string()
.regex(/^(s\/[A-Z]{2}-[A-Z0-9]{1,3}|c\/[A-Z]{2}|r\/[A-Z0-9]{3,7})$/)
.regex(/^(s\/[A-Z]{2}-[A-Z0-9]{1,3}|c\/[A-Z]{2}|r\/[A-Z0-9]{2,7})$/)
.required()
),
languages: Joi.array().items(