From c9e3e97d53352ef313e5c1f995caae31160bb796 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Tue, 1 Feb 2022 14:46:44 +0100 Subject: [PATCH] fix say task again --- lib/tasks/cognigy/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }