testing
This commit is contained in:
parent
bbf1865f1a
commit
a1ae8c98d1
2 changed files with 2 additions and 4 deletions
3
dist/GoogleCalendar.js
vendored
3
dist/GoogleCalendar.js
vendored
|
@ -24,8 +24,7 @@ class GoogleCalendar {
|
||||||
email: this.clientEmail,
|
email: this.clientEmail,
|
||||||
key: this.googlePrivateKey,
|
key: this.googlePrivateKey,
|
||||||
scopes: [
|
scopes: [
|
||||||
'https://www.googleapis.com/auth/calendar',
|
'https://www.googleapis.com/auth/calendar'
|
||||||
'https://www.googleapis.com/auth/calendar.events'
|
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
const { access_token } = await this.JWT_client.authorize();
|
const { access_token } = await this.JWT_client.authorize();
|
||||||
|
|
|
@ -28,8 +28,7 @@ export default class GoogleCalendar {
|
||||||
email: this.clientEmail,
|
email: this.clientEmail,
|
||||||
key: this.googlePrivateKey,
|
key: this.googlePrivateKey,
|
||||||
scopes: [
|
scopes: [
|
||||||
'https://www.googleapis.com/auth/calendar',
|
'https://www.googleapis.com/auth/calendar'
|
||||||
'https://www.googleapis.com/auth/calendar.events'
|
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
const { access_token } = await this.JWT_client.authorize();
|
const { access_token } = await this.JWT_client.authorize();
|
||||||
|
|
Loading…
Reference in a new issue