bugfix: speech to text was ignoring language and setting to en-US always

This commit is contained in:
Dave Horton
2021-04-07 18:40:14 -04:00
parent e441c5be36
commit 8eb0cd1520
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ class TaskGather extends Task {
_startTranscribing(ep) {
ep.startTranscription({
vendor: this.vendor,
language: this.language,
locale: this.language,
interim: this.partialResultCallback ? true : false,
}).catch((err) => this.logger.error(err, 'TaskGather:_startTranscribing error'));
}