bugfix: second part of outbound dial fix over wss

This commit is contained in:
Dave Horton
2022-05-07 11:52:29 -04:00
parent 258e4b5434
commit b37881a059
2 changed files with 2 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ class TaskTranscribe extends Task {
}
_onTranscription(cs, ep, evt) {
this.logger.debug(evt, 'TaskTranscribe:_onTranscription');
this.logger.debug({evt}, 'TaskTranscribe:_onTranscription');
if ('aws' === this.vendor && Array.isArray(evt) && evt.length > 0) evt = evt[0];
if ('microsoft' === this.vendor) {
const nbest = evt.NBest;