mirror of
https://github.com/iptv-org/database.git
synced 2024-11-29 13:49:36 -05:00
Merge pull request #74 from iptv-org/make-logo-mandatory
Make a logo mandatory
This commit is contained in:
commit
6180062e0e
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ All data is stored in the [/data](data) folder as [CSV](https://en.wikipedia.org
|
|||
| closed | Date on which the channel closed (`YYYY-MM-DD`) | Optional | `2020-05-31` |
|
||||
| replaced_by | The ID of the channel that this channel was replaced by. | Optional | `CCTV1.cn` |
|
||||
| website | Official website URL. | Optional | `http://www.ahtv.cn/` |
|
||||
| logo | Logo URL. Only URL with HTTPS protocol are allowed. Supported image types: `PNG`, `JPEG`. | Optional | `https://example.com/logo.png` |
|
||||
| logo | Logo URL. Only URL with HTTPS protocol are allowed. Supported image types: `PNG`, `JPEG`. | Required | `https://example.com/logo.png` |
|
||||
|
||||
### categories
|
||||
|
||||
|
|
|
@ -55,5 +55,5 @@ module.exports = {
|
|||
return helper.message(`"logo" has an invalid file extension "${ext}"`)
|
||||
}
|
||||
})
|
||||
.allow(null)
|
||||
.required()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue