This commit is contained in:
pypy
2021-01-21 12:31:39 +09:00
parent d37bcde2cc
commit e3287afe0f

View File

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