mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update play.js
This commit is contained in:
parent
e780d08b00
commit
514bb9b83e
@ -44,10 +44,8 @@ module.exports = {
|
|||||||
console.error(err);
|
console.error(err);
|
||||||
if (err.code === 403) {
|
if (err.code === 403) {
|
||||||
if (client.config.api_key === client.config.api_key) {
|
if (client.config.api_key === client.config.api_key) {
|
||||||
console.log('KEY 2');
|
|
||||||
client.config.api_key = client.config.api_key2;
|
client.config.api_key = client.config.api_key2;
|
||||||
} else if (client.config.api_key === client.config.api_key2) {
|
} else if (client.config.api_key === client.config.api_key2) {
|
||||||
console.log('KEY 3');
|
|
||||||
client.config.api_key = client.config.api_key3;
|
client.config.api_key = client.config.api_key3;
|
||||||
} else if (client.config.api_key === client.config.api_key3) {
|
} else if (client.config.api_key === client.config.api_key3) {
|
||||||
client.config.api_key = client.config.api_key4;
|
client.config.api_key = client.config.api_key4;
|
||||||
|
Loading…
Reference in New Issue
Block a user