From 63afe27974905e91c8aed2ee686e49f8f47e1ab6 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Thu, 5 Jan 2023 15:55:59 +0300 Subject: [PATCH] Update tvarenasport.com.config.js --- sites/tvarenasport.com/tvarenasport.com.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sites/tvarenasport.com/tvarenasport.com.config.js b/sites/tvarenasport.com/tvarenasport.com.config.js index ecd5f1a3..8787a6f1 100644 --- a/sites/tvarenasport.com/tvarenasport.com.config.js +++ b/sites/tvarenasport.com/tvarenasport.com.config.js @@ -42,9 +42,8 @@ module.exports = { } function parseItems(content, channel) { - const [_, channelId] = channel.site_id.split('#') const data = JSON.parse(content) if (!data || !Array.isArray(data.items)) return [] - return data.items.filter(i => i.group === channelId) + return data.items.filter(i => i.group === channel.site_id) }