mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 14:42:23 +03:00
Add scope to the google sync client (#890).
This commit is contained in:
parent
8c2058d70f
commit
4c10b5a173
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ class Google_Sync {
|
|||
$this->client->setClientSecret($this->framework->config->item('google_client_secret'));
|
||||
$this->client->setDeveloperKey($this->framework->config->item('google_api_key'));
|
||||
$this->client->setRedirectUri(site_url('google/oauth_callback'));
|
||||
$this->client->setScopes('https://www.googleapis.com/auth/calendar');
|
||||
|
||||
$this->service = new Google_Service_Calendar($this->client);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue