This commit is contained in:
pypy
2021-01-21 12:39:33 +09:00
parent d39fa737e3
commit 0ce86d3b67
2 changed files with 2 additions and 0 deletions

View File

@@ -380,6 +380,7 @@ speechSynthesis.getVoices();
this.$throw(0, 'Invalid JSON response');
}
this.$throw(response.status);
return {};
}).then(({ data, status }) => {
if (status === 200) {
if (data.success === Object(data.success)) {

View File

@@ -200,6 +200,7 @@ speechSynthesis.getVoices();
this.$throw(0, 'Invalid JSON response');
}
this.$throw(response.status);
return {};
}).then(({ data, status }) => {
if (data === Object(data)) {
if (status === 200) {