mirror of
https://github.com/iptv-org/database.git
synced 2024-12-21 23:40:23 -05:00
Update channels.js
This commit is contained in:
parent
433fbfffdb
commit
7be7791ac7
1 changed files with 4 additions and 2 deletions
|
@ -12,8 +12,10 @@ module.exports = {
|
|||
.regex(/^[^",]+$/)
|
||||
.invalid(Joi.ref('name'))
|
||||
.allow(null),
|
||||
network: Joi.string().allow(null),
|
||||
owner: Joi.string().allow(null),
|
||||
network: Joi.string()
|
||||
.regex(/^[^",]+$/)
|
||||
.allow(null),
|
||||
owners: Joi.array().items(Joi.string().regex(/^[^",]+$/)),
|
||||
country: Joi.string()
|
||||
.regex(/^[A-Z]{2}$/)
|
||||
.required(),
|
||||
|
|
Loading…
Reference in a new issue