mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 03:14:35 +02:00
Fix
This commit is contained in:
@@ -77,7 +77,7 @@ module.exports = class TwitchCommand extends Command {
|
||||
grant_type: 'client_credentials'
|
||||
});
|
||||
this.token = body.access_token;
|
||||
setTimeout(() => { this.token = null; }, body.expires_in * 1000);
|
||||
setTimeout(() => { this.token = null; }, body.expires_in);
|
||||
return body;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user