From e330d64dbcf8f47dae0682170a59c0be662e7b31 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sun, 19 Nov 2023 10:23:27 +0300 Subject: [PATCH] Update channels.js --- scripts/schemes/channels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/schemes/channels.js b/scripts/schemes/channels.js index 6126e24a..32600a0a 100644 --- a/scripts/schemes/channels.js +++ b/scripts/schemes/channels.js @@ -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(