diff --git a/lib/utils/db-utils.js b/lib/utils/db-utils.js index 4129cd90..e0fc3324 100644 --- a/lib/utils/db-utils.js +++ b/lib/utils/db-utils.js @@ -36,6 +36,10 @@ const speechMapper = (cred) => { obj.api_key = o.api_key; obj.region = o.region; } + else if ('wellsaid' === obj.vendor) { + const o = JSON.parse(decrypt(credential)); + obj.api_key = o.api_key; + } return obj; };