diff --git a/html/src/app.js b/html/src/app.js
index 96ffe2be..ffde9501 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -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)) {
diff --git a/html/src/vr.js b/html/src/vr.js
index 62728c6e..cf010ba3 100644
--- a/html/src/vr.js
+++ b/html/src/vr.js
@@ -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) {