mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-04 02:04:18 +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_uri,
|
||||||
deepgram_stt_use_tls,
|
deepgram_stt_use_tls,
|
||||||
deepgram_tts_uri,
|
deepgram_tts_uri,
|
||||||
engine_version
|
engine_version,
|
||||||
|
speechmatics_stt_uri
|
||||||
} = req.body;
|
} = req.body;
|
||||||
|
|
||||||
const newCred = {
|
const newCred = {
|
||||||
@@ -519,7 +520,8 @@ router.put('/:sid', async(req, res) => {
|
|||||||
deepgram_stt_uri,
|
deepgram_stt_uri,
|
||||||
deepgram_stt_use_tls,
|
deepgram_stt_use_tls,
|
||||||
deepgram_tts_uri,
|
deepgram_tts_uri,
|
||||||
engine_version
|
engine_version,
|
||||||
|
speechmatics_stt_uri
|
||||||
};
|
};
|
||||||
logger.info({o, newCred}, 'updating speech credential with this new credential');
|
logger.info({o, newCred}, 'updating speech credential with this new credential');
|
||||||
obj.credential = encryptCredential(newCred);
|
obj.credential = encryptCredential(newCred);
|
||||||
|
|||||||
Reference in New Issue
Block a user