Remove unused parameter and semicolon.

Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
Toha
2026-04-26 22:08:09 +07:00
parent 4700706fec
commit 8a8179bcb9

View File

@@ -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}!`)
} }
} }