diff --git a/dist/GoogleCalendar.js b/dist/GoogleCalendar.js index 640c9ed..f3d9277 100644 --- a/dist/GoogleCalendar.js +++ b/dist/GoogleCalendar.js @@ -24,8 +24,7 @@ class GoogleCalendar { email: this.clientEmail, key: this.googlePrivateKey, scopes: [ - 'https://www.googleapis.com/auth/calendar', - 'https://www.googleapis.com/auth/calendar.events' + 'https://www.googleapis.com/auth/calendar' ] }); const { access_token } = await this.JWT_client.authorize(); diff --git a/src/GoogleCalendar.ts b/src/GoogleCalendar.ts index dfcd8d3..6eadbd7 100644 --- a/src/GoogleCalendar.ts +++ b/src/GoogleCalendar.ts @@ -28,8 +28,7 @@ export default class GoogleCalendar { email: this.clientEmail, key: this.googlePrivateKey, scopes: [ - 'https://www.googleapis.com/auth/calendar', - 'https://www.googleapis.com/auth/calendar.events' + 'https://www.googleapis.com/auth/calendar' ] }); const { access_token } = await this.JWT_client.authorize();