From 2a61d21bff64884b098f0eb7b9c791ee743d3b41 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Fri, 4 Feb 2022 08:15:22 +0100 Subject: [PATCH] return the merged config... --- lib/tasks/cognigy/speech-config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/cognigy/speech-config.js b/lib/tasks/cognigy/speech-config.js index 46482045..ad12cfd8 100644 --- a/lib/tasks/cognigy/speech-config.js +++ b/lib/tasks/cognigy/speech-config.js @@ -26,6 +26,7 @@ class SpeechConfig extends Emitter { this.logger.debug({merged, sessionConfig: this.sessionConfig, changedConfig}, 'merged config'); // should we override hints with empty array or leave it as it is once saved? // merged.recognizer.hints = changedConfig.recognizer?.hints + return merged; } update(session) {