Skip to content

Commit

Permalink
Limited scope to required
Browse files Browse the repository at this point in the history
  • Loading branch information
No3x committed Sep 27, 2022
1 parent e50214d commit 2e3cc36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions authorize.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ const readline = require('readline');
const googleAuth = require('google-auth-library');

const SCOPES = [
'https://www.googleapis.com/auth/drive.metadata',
'https://www.googleapis.com/auth/drive.readonly',
'https://www.googleapis.com/auth/drive.file'
'https://www.googleapis.com/auth/drive.readonly'
];

const TOKEN_DIR = `${process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE}/.credentials`;
Expand Down

0 comments on commit 2e3cc36

Please sign in to comment.