Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Nov 6, 2023
1 parent 8571f51 commit 29a88dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/routes/api/speech-credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const Account = require('../../models/account');
const SpeechCredential = require('../../models/speech-credential');
const sysError = require('../error');
const {decrypt, encrypt} = require('../../utils/encrypt-decrypt');
const {parseAccountSid, parseServiceProviderSid, parseSpeechCredentialSid, decryptCredential} = require('./utils');
const {parseAccountSid, parseServiceProviderSid, parseSpeechCredentialSid} = require('./utils');
const {decryptCredential} = require('../../utils/speech-utils');
const {DbErrorUnprocessableRequest, DbErrorForbidden} = require('../../utils/errors');
const {
testGoogleTts,
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/api/tts-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ router.post('/Synthesize', async(req, res) => {
const { filePath } = await synthAudio(stats, {
account_sid: accountSid,
text,
vendor: cred,
vendor: cred.vendor,
language,
voice,
engine,
Expand Down

0 comments on commit 29a88dd

Please sign in to comment.