From 47d09725cd3a9d7268738ce12968a3c8d733f23f Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sun, 12 Aug 2018 13:32:45 -0700 Subject: [PATCH] fix: consistent use of keyfile name (#1287) --- samples/drive/README.md | 2 +- samples/drive/quickstart.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/drive/README.md b/samples/drive/README.md index d310a9a30d6..eccba54df80 100644 --- a/samples/drive/README.md +++ b/samples/drive/README.md @@ -4,7 +4,7 @@ This samples allows you to download a single file from Google Drive. ## Running the samples -Set the following values in `secret.json` (up one directory): +Set the following values in `oauth2.keys.json` (up one directory): * `client_id` * `project_id` diff --git a/samples/drive/quickstart.js b/samples/drive/quickstart.js index e7086856997..ed0553b0e30 100644 --- a/samples/drive/quickstart.js +++ b/samples/drive/quickstart.js @@ -20,7 +20,7 @@ const opn = require('opn'); const path = require('path'); const fs = require('fs'); -const keyfile = path.join(__dirname, 'credentials.json'); +const keyfile = path.join(__dirname, '../oauth2.keys.json'); const keys = JSON.parse(fs.readFileSync(keyfile)); const scopes = ['https://www.googleapis.com/auth/drive.metadata.readonly'];