verbio list voice api is changed, fixed (#378)

This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2025-01-15 06:54:55 -05:00
1 parent fab8a391b7
commit fa81d179a1
2 files changed
+1 -11

No files matched your search

+1 -1
View File
@@ -1132,7 +1132,7 @@ function parseMicrosoftLanguagesVoices(data) {
}
function parseVerbioLanguagesVoices(data) {
return data.reduce((acc, voice) => {
return data.voices.reduce((acc, voice) => {
const languageCode = voice.language;
const existingLanguage = acc.find((lang) => lang.value === languageCode);
if (existingLanguage) {