improvement provider

This commit is contained in:
David Claeys 2024-12-01 16:24:55 +01:00
parent 69259aee97
commit f628a8035a

View file

@ -65,7 +65,7 @@ function parseIcon(item){
}
function parseItems(content, channel) {
const json = typeof content === 'string' ? JSON.parse(content) : content
const json = typeof content === 'string' ? JSON.parse(content) : []
const channelData = json.find(i => i.channelExternalId == channel.site_id);