mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-01-25 02:08:24 +00:00
fix speechmatic cannot update stt url (#410)
This commit is contained in:
@@ -490,7 +490,8 @@ router.put('/:sid', async(req, res) => {
|
||||
deepgram_stt_uri,
|
||||
deepgram_stt_use_tls,
|
||||
deepgram_tts_uri,
|
||||
engine_version
|
||||
engine_version,
|
||||
speechmatics_stt_uri
|
||||
} = req.body;
|
||||
|
||||
const newCred = {
|
||||
@@ -519,7 +520,8 @@ router.put('/:sid', async(req, res) => {
|
||||
deepgram_stt_uri,
|
||||
deepgram_stt_use_tls,
|
||||
deepgram_tts_uri,
|
||||
engine_version
|
||||
engine_version,
|
||||
speechmatics_stt_uri
|
||||
};
|
||||
logger.info({o, newCred}, 'updating speech credential with this new credential');
|
||||
obj.credential = encryptCredential(newCred);
|
||||
|
||||
Reference in New Issue
Block a user