From 706f6d580863f8c1eb09991ca15a83bed3848db6 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Thu, 25 Jan 2024 21:37:38 +0700 Subject: [PATCH] fix get aws voice should not be limit in en-US --- lib/get-tts-voices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/get-tts-voices.js b/lib/get-tts-voices.js index 982d472..4a8f795 100644 --- a/lib/get-tts-voices.js +++ b/lib/get-tts-voices.js @@ -97,7 +97,7 @@ const getAwsVoices = async(_client, logger, credentials) => { secretAccessKey } }); - const command = new DescribeVoicesCommand({LanguageCode: 'en-US'}); + const command = new DescribeVoicesCommand({}); const response = await client.send(command); return response; } catch (err) {