Remove client.setTimeout/setInterval

This commit is contained in:
Daniel Odendahl Jr
2017-12-16 20:54:07 +00:00
parent f2ca007b30
commit 1d2911597a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ module.exports = class DeviantartCommand extends Command {
client_secret: DEVIANTART_SECRET
});
this.token = body.access_token;
this.client.setTimeout(() => { this.token = null; }, body.expires_in * 1000);
setTimeout(() => { this.token = null; }, body.expires_in * 1000);
return body;
}
};