Update dstv.com.config.js
This commit is contained in:
@@ -20,6 +20,7 @@ module.exports = {
|
|||||||
)}`
|
)}`
|
||||||
},
|
},
|
||||||
async logo({ channel }) {
|
async logo({ channel }) {
|
||||||
|
if (channel.logo) return channel.logo
|
||||||
const [bouquetId, channelId] = channel.site_id.split('#')
|
const [bouquetId, channelId] = channel.site_id.split('#')
|
||||||
const url = `https://guide.dstv.com/api/channel/fetchChannelsByGenresInBouquet?bouquetId=${bouquetId}&genre=all`
|
const url = `https://guide.dstv.com/api/channel/fetchChannelsByGenresInBouquet?bouquetId=${bouquetId}&genre=all`
|
||||||
const result = await axios
|
const result = await axios
|
||||||
|
|||||||
Reference in New Issue
Block a user