mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
fix to add custom stt endpoint to session speech credentials object
This commit is contained in:
@@ -36,6 +36,8 @@ const speechMapper = (cred) => {
|
|||||||
const o = JSON.parse(decrypt(credential));
|
const o = JSON.parse(decrypt(credential));
|
||||||
obj.api_key = o.api_key;
|
obj.api_key = o.api_key;
|
||||||
obj.region = o.region;
|
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) {
|
else if ('wellsaid' === obj.vendor) {
|
||||||
const o = JSON.parse(decrypt(credential));
|
const o = JSON.parse(decrypt(credential));
|
||||||
|
|||||||
Reference in New Issue
Block a user