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 cd1842fc40
commit 9c87d53079

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