From 135eeda7a37a58e6f0eed03fc37ee3c5eca851c5 Mon Sep 17 00:00:00 2001 From: Philippe Sultan Date: Fri, 23 Mar 2018 19:04:52 +0100 Subject: [PATCH] Remove projectId argument in samples (#47) * Remove projectId argument in samples --- speech/quickstart.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/speech/quickstart.js b/speech/quickstart.js index 47cd24bc0d7..f95b8aaf223 100644 --- a/speech/quickstart.js +++ b/speech/quickstart.js @@ -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';