Apply linter to igdb.js

This commit is contained in:
baz 2023-11-30 23:38:01 +00:00
parent b79b6cdfe0
commit b7610ed59d
1 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@ class igdb {
setInterval(() => { setInterval(() => {
this.makeClientCred(); this.makeClientCred();
}, 86000000); }, 86000000);
this.makeClientCred() this.makeClientCred();
} }
makeClientCred() { makeClientCred() {
console.log("Making a token"); console.log('Making a token');
fetch( fetch(
`https://id.twitch.tv/oauth2/token?client_id=${process.env.igdbClientId}&client_secret=${process.env.igdbClientSecret}&grant_type=client_credentials`, `https://id.twitch.tv/oauth2/token?client_id=${process.env.igdbClientId}&client_secret=${process.env.igdbClientSecret}&grant_type=client_credentials`,
@ -32,5 +32,5 @@ class igdb {
} }
module.exports = { module.exports = {
igdb igdb,
}; };