Remove unused parameter and semicolon.
Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
1 file changed
+2
-2
@@ -35,7 +35,7 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
},
|
||||
parser({ content, channel }) {
|
||||
parser({ content }) {
|
||||
const programs = []
|
||||
if (content && typeof content === 'string') {
|
||||
content = JSON.parse(content)
|
||||
@@ -139,6 +139,6 @@ async function fetchAccessToken() {
|
||||
}
|
||||
}
|
||||
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