Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix: fix the sample tests again (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Oct 26, 2018
1 parent fa03c68 commit e12b91d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions samples/betaFeatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,12 @@ async function speechTranscribeMultiChannel(fileName) {

const [response] = await client.recognize(request);
const transcription = response.results
.map(result => {
` Channel Tag: ${result.channelTag} ${result.alternatives[0].transcript}`;
})
.map(
result =>
` Channel Tag: ${result.channelTag} ${
result.alternatives[0].transcript
}`
)
.join('\n');
console.log(`Transcription: \n${transcription}`);
// [END speech_transcribe_multichannel_beta]
Expand Down

0 comments on commit e12b91d

Please sign in to comment.