diff --git a/tts/.watson/index.js b/tts/watson/index.js similarity index 98% rename from tts/.watson/index.js rename to tts/watson/index.js index e6eb166..9df494e 100644 --- a/tts/.watson/index.js +++ b/tts/watson/index.js @@ -20,7 +20,7 @@ module.exports = class extends BaseEngine { const res = await fetch(url, opts); const voices = await res.json(); voices.voices.forEach((i) => { - let voiceName = i.description.substring(0, i.description.indexOf(':')); + let voiceName = i.description.substring(0, i.description.indexOf(':')).toLowerCase(); this.voices[voiceName] = i.name; }); }