mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-29 19:04:12 +00:00
fix microsoft SST endpoint id is failed on validating speech credential (#554)
This commit is contained in:
1 parent
e0a9035d38
commit
3bb33f24c2
2 files changed
+15
-5
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user