From 1e70db005a0bcd6e7eb5fd1ef54ae1f4ffd505ac Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 6 Oct 2021 04:57:05 +0300 Subject: [PATCH] Update zap.co.ao.config.js --- sites/zap.co.ao.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/zap.co.ao.config.js b/sites/zap.co.ao.config.js index a8069cb1..19da0a18 100644 --- a/sites/zap.co.ao.config.js +++ b/sites/zap.co.ao.config.js @@ -45,7 +45,7 @@ function parseItems(content, channel) { const channels = JSON.parse(content) const data = channels.find(ch => ch.id == channel.site_id) - return data.epg + return data ? data.epg : [] } function parseStart(item) {