diff --git a/lib/tasks/tts-task.js b/lib/tasks/tts-task.js index 5de6b027..9b26381c 100644 --- a/lib/tasks/tts-task.js +++ b/lib/tasks/tts-task.js @@ -68,6 +68,7 @@ class TtsTask extends Task { tts_engine: vendor, tts_voice: voice, cache_speech_handles: 1, + GOOGLE_TTS_APPLICATION_CREDENTIALS: JSON.stringify(credentials.credentials) }).catch((err) => this.logger.info({err}, `${this.name}: Error setting tts_engine on endpoint`)); if (!preCache) this.logger.info({vendor, language, voice, model}, `${this.name}:exec`);