This commit is contained in:
Quan HL
2024-04-10 18:17:23 +07:00
parent 446ae5ae70
commit 4b23cabee8

View File

@@ -692,6 +692,8 @@ const fetchLayHTVoices = async(credential) => {
const voices = await get('/api/v2/voices');
let clone_voices = [];
try {
// try if the account has permission to cloned voice
//otherwise ignore this.
clone_voices = await get('/api/v2/cloned-voices');
} catch {}
return [clone_voices, voices];