diff --git a/lib/routes/api/speech-credentials.js b/lib/routes/api/speech-credentials.js index cef0639..0d1592a 100644 --- a/lib/routes/api/speech-credentials.js +++ b/lib/routes/api/speech-credentials.js @@ -478,7 +478,9 @@ router.put('/:sid', async(req, res) => { use_custom_tts, custom_tts_endpoint, use_custom_stt, - custom_stt_endpoint + custom_stt_endpoint, + custom_stt_url, + custom_tts_url } = req.body; const newCred = { @@ -494,7 +496,9 @@ router.put('/:sid', async(req, res) => { tts_region, riva_server_uri, nuance_stt_uri, - nuance_tts_uri + nuance_tts_uri, + custom_stt_url, + custom_tts_url }; logger.info({o, newCred}, 'updating speech credential with this new credential'); obj.credential = encryptCredential(newCred);