Merge pull request #74 from iptv-org/make-logo-mandatory

Make a logo mandatory
This commit is contained in:
Aleksandr Statciuk 2022-04-29 22:20:47 +03:00 committed by GitHub
commit 6180062e0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -55,5 +55,5 @@ module.exports = {
return helper.message(`"logo" has an invalid file extension "${ext}"`)
}
})
.allow(null)
.required()
}