This commit is contained in:
Quan HL
2024-06-14 10:19:55 +07:00
parent 8c4e12e54f
commit 09e833d910

View File

@@ -108,13 +108,13 @@ const getAwsVoices = async(_client, createHash, retrieveHash, logger, credential
client = new PollyClient({
region,
credentials: await getAwsAuthToken(
logger, createHash, retrieveHash,
logger, createHash, retrieveHash,
{
accessKeyId: null,
secretAccessKey: null,
region,
RoleArn: roleArn
}),
}),
});
} else {
client = new PollyClient({region});