fix say task again

This commit is contained in:
akirilyuk
2022-02-01 14:46:44 +01:00
parent ed157c6aee
commit c9e3e97d53

View File

@@ -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));
}