diff --git a/internal/model/widget-templates.go b/internal/model/widget-templates.go index aa6a078..b7ffa95 100644 --- a/internal/model/widget-templates.go +++ b/internal/model/widget-templates.go @@ -95,7 +95,7 @@ function playSpeech(text) { } return response.blob(); }) - .then(response => { + .then(blob => { const url = URL.createObjectURL(blob); const audio = new Audio(url);