mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Update generate.js
This commit is contained in:
parent
b0d510fc7f
commit
ed60663c88
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ function main() {
|
|||
generateCountryIndex()
|
||||
generateLanguageIndex()
|
||||
generateCategories()
|
||||
generateLanguages()
|
||||
generateCountries()
|
||||
generateLanguages()
|
||||
generateChannelsJson()
|
||||
finish()
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ function generateChannelsJson() {
|
|||
const channels = db.channels
|
||||
.sortBy(['name', 'url'])
|
||||
.all()
|
||||
.map(c => c.toJSON())
|
||||
.map(c => c.toObject())
|
||||
utils.createFile(filename, JSON.stringify(channels))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue