Apply linter to igdb.js
This commit is contained in:
parent
b79b6cdfe0
commit
b7610ed59d
6
igdb.js
6
igdb.js
|
@ -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,
|
||||||
};
|
};
|
Loading…
Reference in New Issue