mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
fix making say task
This commit is contained in:
@@ -277,7 +277,7 @@ class Cognigy extends Task {
|
|||||||
this.logger.info({text}, 'received text');
|
this.logger.info({text}, 'received text');
|
||||||
this._enqueueTask(async() => {
|
this._enqueueTask(async() => {
|
||||||
// todo inject the session config into the say task
|
// 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);
|
await sayTask.exec(cs, ep, this);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user