mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update update.js
Fixes "TypeError: Cannot set properties of undefined (setting 'site')"
7074531240
This commit is contained in:
parent
51f59d42cd
commit
b3bc0f5461
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ async function save(filepath, programs) {
|
|||
|
||||
for (let programData of programs) {
|
||||
let channelData = api_channels[programData.channel]
|
||||
if (!channelData) continue
|
||||
|
||||
channelData.site = programData.site
|
||||
channelData.lang = programData.titles[0].lang
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue