bugfix: AWS polly

This commit is contained in:
Dave Horton
2023-03-20 15:33:00 -04:00
parent 46127bb763
commit 7c7be6bbb1
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ async function synthAudio(client, logger, stats, { account_sid,
const synthPolly = async(logger, {credentials, stats, language, voice, engine, text}) => {
try {
const polly = new PollyClient(credentials);
const polly = new PollyClient({credentials});
const opts = {
Engine: engine,
OutputFormat: 'mp3',