From 0d1cd370978afbeb544885754682b979c53124cf Mon Sep 17 00:00:00 2001 From: Quan HL Date: Tue, 30 Apr 2024 11:20:21 +0700 Subject: [PATCH] wip --- lib/synth-audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/synth-audio.js b/lib/synth-audio.js index fda887f..c3a5e78 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -278,7 +278,7 @@ const synthPolly = async(logger, {credentials, stats, language, voice, engine, t }); } else if (roleArn) { const stsClient = new STSClient({ region}); - const roleToAssume = { RoleArn: roleArn, RoleSessionName: 'Jambonz Speech' }; + const roleToAssume = { RoleArn: roleArn, RoleSessionName: 'Jambonz_Speech' }; const command = new AssumeRoleCommand(roleToAssume); const response = await stsClient.send(command);