diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 9b76f61..4da42b4 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -380,7 +380,7 @@ async function _synthOnPremMicrosoft(logger, { text, filePath }) { - const {use_custom_tts, custom_tts_endpoint_url} = credentials; + const {use_custom_tts, custom_tts_endpoint_url, api_key} = credentials; let content = text; if (use_custom_tts && !content.startsWith('