Skip to content

Commit

Permalink
fix: consistent use of keyfile name (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Aug 12, 2018
1 parent 67bb3d2 commit 47d0972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/drive/README.md
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion samples/drive/quickstart.js
Expand Up @@ -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'];

Expand Down

0 comments on commit 47d0972

Please sign in to comment.