From 53cfbc1f5666d75e6c372f51b65d4cd604709e7f Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Wed, 2 Feb 2022 15:19:35 +0100 Subject: [PATCH] fix turn config injection --- 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 699ec262..906fd715 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -310,7 +310,7 @@ class Cognigy extends Task { this.gatherTask = this._makeGatherTask({ textPrompt: evt.data.text, urlPrompt: evt.data.url, - nextTurnConfig: evt.data.config && evt.data.config.nextTurn + turnConfig: evt.data.config && evt.data.config.nextTurn }); try { this.gatherTask.exec(cs, ep, this);