diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index 6d355365..af02607a 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -259,7 +259,7 @@ class Cognigy extends Task { await this._enqueueTask((async() => { this.logger.info({text}, "received text"); - const sayTask = this._makeSayTask(text).exec(); + const sayTask = this._makeSayTask(text); await sayTask.exec(cs, ep, this); }).bind(this)); }