Revert ""fix" 503 errors"

This reverts commit 009ce76fc1.
This commit is contained in:
Natsumi
2021-03-07 12:48:56 +13:00
parent 31c7ea7cfe
commit 4dfcda1642

View File

@@ -399,9 +399,6 @@ speechSynthesis.getVoices();
}
throw new Error('401: Missing Credentials');
}
if ((status === 503) && (data.error.message === 'endpoint temporarily disabled')) {
throw new Error('503: Endpoint temporarily disabled');
}
if (data.error === Object(data.error)) {
this.$throw(
data.error.status_code || status,