mirror of
https://github.com/iptv-org/epg
synced 2026-05-07 01:46:59 -04:00
Remove unused parameter and semicolon.
Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
parser({ content, channel }) {
|
parser({ content }) {
|
||||||
const programs = []
|
const programs = []
|
||||||
if (content && typeof content === 'string') {
|
if (content && typeof content === 'string') {
|
||||||
content = JSON.parse(content)
|
content = JSON.parse(content)
|
||||||
@@ -139,6 +139,6 @@ async function fetchAccessToken() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!accessToken) {
|
if (!accessToken) {
|
||||||
throw new Error(`Unable to fetch access token from ${url}!`);
|
throw new Error(`Unable to fetch access token from ${url}!`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user