diff --git a/lib/tasks/cognigy/speech-config.js b/lib/tasks/cognigy/speech-config.js index e439cd23..cc7b1060 100644 --- a/lib/tasks/cognigy/speech-config.js +++ b/lib/tasks/cognigy/speech-config.js @@ -20,7 +20,7 @@ class SpeechConfig extends Emitter { const merged = lodash.merge( {}, this.sessionConfig, - session + changedConfig ); merged.bargein.enable = changedConfig.bargein?.enable?.length === 0 ? [] : changedConfig.bargein?.enable;