mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-22 01:27:55 +00:00
fix gather task creation again
This commit is contained in:
@@ -91,6 +91,13 @@ class SpeechConfig extends Emitter {
|
|||||||
|
|
||||||
/* turn config can now be emptied for next turn of conversation */
|
/* turn config can now be emptied for next turn of conversation */
|
||||||
this.turnConfig = {};
|
this.turnConfig = {};
|
||||||
|
|
||||||
|
const config = {};
|
||||||
|
if(sayConfig){
|
||||||
|
config.say = sayConfig;
|
||||||
|
}else if(playConfig){
|
||||||
|
config.play = playConfig;
|
||||||
|
}
|
||||||
return textPrompt ?
|
return textPrompt ?
|
||||||
{...final, say: sayConfig} :
|
{...final, say: sayConfig} :
|
||||||
{...final, play: playConfig};
|
{...final, play: playConfig};
|
||||||
|
|||||||
Reference in New Issue
Block a user