Skip to content

Commit 48b6329

Browse files
phsultanAce Nassri
authored and
Ace Nassri
committed
Remove projectId argument in samples (#47)
* Remove projectId argument in samples
1 parent be0b41a commit 48b6329

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

speech/quickstart.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,8 @@
2020
const speech = require('@google-cloud/speech');
2121
const fs = require('fs');
2222

23-
// Your Google Cloud Platform project ID
24-
const projectId = 'your-project-id';
25-
2623
// Creates a client
27-
const client = new speech.SpeechClient({
28-
projectId: projectId,
29-
});
24+
const client = new speech.SpeechClient();
3025

3126
// The name of the audio file to transcribe
3227
const fileName = './resources/audio.raw';

0 commit comments

Comments
 (0)