mirror of
https://github.com/iptv-org/database.git
synced 2024-11-21 18:42:31 -05:00
Update channels.js
This commit is contained in:
parent
47f01d4ac1
commit
6ae587db02
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module.exports = {
|
||||||
categories: Joi.array().items(Joi.string().regex(/^[a-z]+$/)),
|
categories: Joi.array().items(Joi.string().regex(/^[a-z]+$/)),
|
||||||
is_nsfw: Joi.boolean().strict().required(),
|
is_nsfw: Joi.boolean().strict().required(),
|
||||||
launched: Joi.date().format('YYYY-MM-DD').raw().allow(null),
|
launched: Joi.date().format('YYYY-MM-DD').raw().allow(null),
|
||||||
closed: Joi.date().format('YYYY-MM-DD').raw().allow(null),
|
closed: Joi.date().format('YYYY-MM-DD').raw().allow(null).greater(Joi.ref('launched')),
|
||||||
replaced_by: Joi.string()
|
replaced_by: Joi.string()
|
||||||
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
|
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
|
||||||
.allow(null),
|
.allow(null),
|
||||||
|
|
Loading…
Reference in a new issue