This commit is contained in:
Kfir Dayan 2023-07-26 14:14:10 +03:00
parent bbf1865f1a
commit a1ae8c98d1
2 changed files with 2 additions and 4 deletions

View file

@ -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();

View file

@ -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();