From 90d6048f52103fea213180b518eebfd13c6eed14 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Tue, 14 May 2024 14:01:25 +0700 Subject: [PATCH] fix private azure link with credential --- lib/synth-audio.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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('