Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: consistent use of keyfile name #1287

Merged
merged 1 commit into from Aug 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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