mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 02:16:40 -05:00
Update update.js
Fixes "TypeError: Cannot set properties of undefined (setting 'site')" https://github.com/iptv-org/epg/actions/runs/4102046013/jobs/7074531240
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user