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

This commit is contained in:
Hoan Luu Huu
2025-01-15 18:54:55 +07:00
committed by GitHub
parent fab8a391b7
commit fa81d179a1
2 changed files with 1 additions and 11 deletions
+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) {