Skip to content

Commit

Permalink
Remove projectId argument in samples (#47)
Browse files Browse the repository at this point in the history
* Remove projectId argument in samples
  • Loading branch information
phsultan authored and beccasaurus committed Mar 23, 2018
1 parent 0ebf9a1 commit 135eeda
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions speech/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@
const speech = require('@google-cloud/speech');
const fs = require('fs');

// Your Google Cloud Platform project ID
const projectId = 'your-project-id';

// Creates a client
const client = new speech.SpeechClient({
projectId: projectId,
});
const client = new speech.SpeechClient();

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

0 comments on commit 135eeda

Please sign in to comment.