Remove the Google Calendar read-only scope use as it is not needed (#1212)

This commit is contained in:
Alex Tselegidis 2022-02-23 11:33:26 +01:00
parent 17e68c9726
commit 9b70a9bd5c

View file

@ -68,7 +68,6 @@ class Google_sync {
$this->client->setAccessType('offline');
$this->client->addScope([
Google_Service_Calendar::CALENDAR,
// Google_Service_Calendar::CALENDAR_READONLY
]);
$this->service = new Google_Service_Calendar($this->client);