Update channels.js

This commit is contained in:
Aleksandr Statciuk 2022-10-16 22:53:06 +03:00
parent 8fd3e590bc
commit 981d8d664e

View file

@ -13,6 +13,7 @@ module.exports = {
.invalid(Joi.ref('name'))
.allow(null),
network: Joi.string().allow(null),
owner: Joi.string().allow(null),
country: Joi.string()
.regex(/^[A-Z]{2}$/)
.required(),