Remove logging and fix case stuff

This commit is contained in:
2021-04-11 00:26:03 +02:00
parent f0c71d75dc
commit 6b43761ca7
3 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ module.exports = class GoogleCloudTTS extends BaseEngine {
const [result] = await this.client.listVoices({});
const voiceList = result.voices;
voiceList.forEach((voice) => {
console.log(voice)
this.voices[voice.name.toLowerCase()] = { name: voice.name, lang: voice.languageCodes[0] };
});
}