From 8fbbd2deb487d97f56ed1250877730ba34f5feb1 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Wed, 3 Apr 2024 08:22:06 -0400 Subject: [PATCH] linting --- lib/tasks/transcribe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/transcribe.js b/lib/tasks/transcribe.js index c8d9e48c..0be6e675 100644 --- a/lib/tasks/transcribe.js +++ b/lib/tasks/transcribe.js @@ -304,7 +304,7 @@ class TaskTranscribe extends SttTask { // make sure this is not a transcript from answering machine detection const bugname = fsEvent.getHeader('media-bugname'); const finished = fsEvent.getHeader('transcription-session-finished'); - let bufferedTranscripts = this._bufferedTranscripts[channel - 1]; + const bufferedTranscripts = this._bufferedTranscripts[channel - 1]; if (bugname && this.bugname !== bugname) return; if (this.paused) { this.logger.debug({evt}, 'TaskTranscribe:_onTranscription - paused, ignoring transcript');