Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d66834

Browse files
committed
debug
Former-commit-id: 40df351 Former-commit-id: 33f524b1d2133c6d64902d12ec41933f65b2b69d
1 parent e309135 commit 9d66834

File tree

1 file changed

+1
-1
lines changed
  • examples/voice/src/functions/deepgram

1 file changed

+1
-1
lines changed

examples/voice/src/functions/deepgram/listen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function deepgramListen({
4444
results: results,
4545
});
4646

47-
const transcript = results?.channels[0].alternatives[0].transcript;
47+
const transcript = results?.channels?.[0].alternatives?.[0].transcript;
4848

4949
log.info("deepgramListen transcript: ", {
5050
transcript: transcript,

0 commit comments

Comments
 (0)