Skip to content

Commit

Permalink
Update scope to only sent files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Mar 30, 2021
1 parent 214a217 commit fd2c40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dwvjq.google.Auth = function () {
this.clientId =
'544445548355-7pli7rbg578hslnngnkj7ledcg6g5ejo.apps.googleusercontent.com';
// The scope to use to access user's Drive items.
this.scope = ['https://www.googleapis.com/auth/drive.readonly'];
this.scope = ['https://www.googleapis.com/auth/drive.file'];

/**
* Load the API and authentify.
Expand Down

0 comments on commit fd2c40e

Please sign in to comment.