bugfix: transcribe/gather using default as vendor

This commit is contained in:
Dave Horton
2023-01-11 15:31:24 -05:00
parent d5c04d2133
commit 567b03fd36
3 changed files with 17 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ module.exports = (logger, srf) => {
const haveNuance = speech.find((s) => s.vendor === 'nuance');
const haveDeepgram = speech.find((s) => s.vendor === 'deepgram');
const haveIbm = speech.find((s) => s.vendor === 'ibm');
if (!haveGoogle || !haveAws || !haveMicrosoft || !haveWellsaid || !haveNuance) {
if (!haveGoogle || !haveAws || !haveMicrosoft || !haveWellsaid || !haveNuance || !haveIbm || !haveDeepgram) {
const [r3] = await pp.query(sqlSpeechCredentialsForSP, account_sid);
if (r3.length) {
if (!haveGoogle) {