mirror of
https://github.com/iptv-org/epg
synced 2026-04-25 20:17:01 -04:00
Fix linter issues in sites/
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = {
|
||||
|
||||
const data = await axios
|
||||
.post(
|
||||
`https://services.mujtvprogram.cz/tvprogram2services/services/tvchannellist_mobile.php`,
|
||||
'https://services.mujtvprogram.cz/tvprogram2services/services/tvchannellist_mobile.php',
|
||||
params,
|
||||
{
|
||||
headers: {
|
||||
@@ -86,7 +86,7 @@ function parseItems(content) {
|
||||
if (!data) return []
|
||||
const programmes = data['tv-program-programmes'].programme
|
||||
return programmes && Array.isArray(programmes) ? programmes : []
|
||||
} catch (err) {
|
||||
} catch {
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user