This commit is contained in:
Natsumi
2021-01-07 23:31:31 +13:00
parent 1db8e94dd8
commit a4cd07fa22

View File

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