From 2a7746537db1c2c912bf51580e0856dc0fc15a49 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Thu, 6 Oct 2022 07:57:14 +0100 Subject: [PATCH] fix to add custom stt endpoint to session speech credentials object --- lib/utils/db-utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/db-utils.js b/lib/utils/db-utils.js index 7eb36a7e..c06b9092 100644 --- a/lib/utils/db-utils.js +++ b/lib/utils/db-utils.js @@ -36,6 +36,8 @@ const speechMapper = (cred) => { const o = JSON.parse(decrypt(credential)); obj.api_key = o.api_key; obj.region = o.region; + obj.use_custom_stt = o.use_custom_stt; + obj.custom_stt_endpoint = o.custom_stt_endpoint; } else if ('wellsaid' === obj.vendor) { const o = JSON.parse(decrypt(credential));