Update tvarenasport.com.config.js
This commit is contained in:
1 parent
80acc141a6
commit
63afe27974
1 file changed
+1
-2
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user