fix cannot update verbio engine_version (#327)

This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2024-06-04 09:48:24 -04:00
1 parent d33d0aa519
commit 6041b1d595
2 files changed
+55 -1

No files matched your search

+2
View File
@@ -458,6 +458,7 @@ router.put('/:sid', async(req, res) => {
options,
deepgram_stt_uri,
deepgram_stt_use_tls,
engine_version
} = req.body;
const newCred = {
@@ -484,6 +485,7 @@ router.put('/:sid', async(req, res) => {
options,
deepgram_stt_uri,
deepgram_stt_use_tls,
engine_version
};
logger.info({o, newCred}, 'updating speech credential with this new credential');
obj.credential = encryptCredential(newCred);