mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-04 02:04:18 +00:00
bugfix: get of speech credential was not returning soniox api_key
This commit is contained in:
@@ -308,6 +308,10 @@ router.get('/:sid', async(req, res) => {
|
|||||||
const o = JSON.parse(decrypt(credential));
|
const o = JSON.parse(decrypt(credential));
|
||||||
obj.riva_server_uri = o.riva_server_uri;
|
obj.riva_server_uri = o.riva_server_uri;
|
||||||
}
|
}
|
||||||
|
else if ('soniox' === obj.vendor) {
|
||||||
|
const o = JSON.parse(decrypt(credential));
|
||||||
|
obj.api_key = obscureKey(o.api_key);
|
||||||
|
}
|
||||||
else if (obj.vendor.startsWith('custom:')) {
|
else if (obj.vendor.startsWith('custom:')) {
|
||||||
const o = JSON.parse(decrypt(credential));
|
const o = JSON.parse(decrypt(credential));
|
||||||
obj.auth_token = obscureKey(o.auth_token);
|
obj.auth_token = obscureKey(o.auth_token);
|
||||||
|
|||||||
Reference in New Issue
Block a user