Skip to content

Commit 53d82b9

Browse files
author
Florian Treml
committed
BOT-2761 fix hint text for google
1 parent 7579c1e commit 53d82b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/stt/google.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ class GoogleSTT {
129129
}
130130
}
131131
if (hint && hint.length > 0) {
132-
request.config.speechContexts = {
133-
phrases: [hint]
134-
}
132+
request.config.speechContexts = [
133+
{ phrases: hint }
134+
]
135135
}
136136
if (process.env.BOTIUM_SPEECH_GOOGLE_CONFIG) {
137137
try {

0 commit comments

Comments
 (0)