fix microsoft SST endpoint id is failed on validating speech credential (#554)

This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2026-06-01 08:38:21 -04:00
1 parent e0a9035d38
commit 3bb33f24c2
2 files changed
+15 -5

No files matched your search

+2 -1
View File
@@ -747,7 +747,8 @@ router.get('/:sid/test', async(req, res) => {
}
if (cred.use_for_stt) {
try {
await testMicrosoftStt(logger, {api_key, region, use_custom_stt, custom_stt_endpoint_url});
await testMicrosoftStt(logger,
{api_key, region, use_custom_stt, custom_stt_endpoint, custom_stt_endpoint_url});
results.stt.status = 'ok';
SpeechCredential.sttTestResult(sid, true);
} catch (err) {