mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-31 11:54:12 +00:00
fix Speech credential test for azure (#322)
This commit is contained in:
1 parent
c0fab2880b
commit
82c16380f5
2 files changed
+8
-6
No files matched your search
@@ -613,7 +613,7 @@ router.get('/:sid/test', async(req, res) => {
|
||||
}
|
||||
if (cred.use_for_stt) {
|
||||
try {
|
||||
await testMicrosoftStt(logger, {api_key, region});
|
||||
await testMicrosoftStt(logger, {api_key, region, use_custom_stt, custom_stt_endpoint_url});
|
||||
results.stt.status = 'ok';
|
||||
SpeechCredential.sttTestResult(sid, true);
|
||||
} catch (err) {
|
||||
|
||||
Reference in new issue
Block a user