This commit is contained in:
pypy
2021-01-21 12:39:52 +09:00
parent ceebac9730
commit c09fd1a781

View File

@@ -392,7 +392,7 @@ speechSynthesis.getVoices();
return data;
}
if ((status === 401) && (data.error.message === '"Missing Credentials"') && ($app.isAutoLogin)) {
if (endpoint.substring(0, 10) == 'auth/user?') {
if (endpoint.substring(0, 10) === 'auth/user?') {
this.$emit('AUTOLOGIN');
}
throw new Error('401: Missing Credentials');