mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Fix linter issues in sites/
This commit is contained in:
parent
d6d20b6413
commit
5df982bb7c
129 changed files with 3316 additions and 3226 deletions
|
@ -43,7 +43,7 @@ module.exports = {
|
|||
const axios = require('axios')
|
||||
const data = await axios
|
||||
.post(
|
||||
`https://playtv.unifi.com.my:7053/VSP/V3/QueryAllChannel`,
|
||||
'https://playtv.unifi.com.my:7053/VSP/V3/QueryAllChannel',
|
||||
{ isReturnAllMedia: '0' },
|
||||
{
|
||||
params: {
|
||||
|
@ -74,7 +74,7 @@ function parseItems(content, channel) {
|
|||
|
||||
const channelData = data.find(i => i.id == channel.site_id)
|
||||
return channelData.items && Array.isArray(channelData.items) ? channelData.items : []
|
||||
} catch (err) {
|
||||
} catch {
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue