From a1ae8c98d1681fa91e3140dd9d2551aebfc014be Mon Sep 17 00:00:00 2001 From: Kfir Dayan Date: Wed, 26 Jul 2023 14:14:10 +0300 Subject: [PATCH] testing --- dist/GoogleCalendar.js | 3 +-- src/GoogleCalendar.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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();