Update dstv.com.config.js

This commit is contained in:
Aleksandr Statciuk 2021-10-27 10:43:43 +03:00
parent 525833c918
commit 9b19730c07

View file

@ -20,6 +20,7 @@ module.exports = {
)}`
},
async logo({ channel }) {
if (channel.logo) return channel.logo
const [bouquetId, channelId] = channel.site_id.split('#')
const url = `https://guide.dstv.com/api/channel/fetchChannelsByGenresInBouquet?bouquetId=${bouquetId}&genre=all`
const result = await axios