diff --git a/html/src/app.js b/html/src/app.js index cc1028df..9129fb4e 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -377,7 +377,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 (status === 200) { if (data.success === Object(data.success)) {