diff --git a/lib/utils/speech-utils.js b/lib/utils/speech-utils.js index 23031ab..f2ac638 100644 --- a/lib/utils/speech-utils.js +++ b/lib/utils/speech-utils.js @@ -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];