fix making say task

This commit is contained in:
akirilyuk committed 2022-02-02 21:39:44 +01:00
1 parent e579514321
commit ba994af012
1 file changed
+1 -1
+1 -1
View File
@@ -277,7 +277,7 @@ class Cognigy extends Task {
this.logger.info({text}, 'received text');
this._enqueueTask(async() => {
// todo inject the session config into the say task
const sayTask = this._makeSayTask(text);
const sayTask = this._makeSayTask({text});
await sayTask.exec(cs, ep, this);
});
}