fix: Ensure Google Calendar scopes is a List (#22333)
This commit is contained in:
parent
3e8a192828
commit
8882679357
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ def get_google_calendar_object(g_calendar):
|
|||
"token_uri": GoogleOAuth.OAUTH_URL,
|
||||
"client_id": google_settings.client_id,
|
||||
"client_secret": google_settings.get_password(fieldname="client_secret", raise_exception=False),
|
||||
"scopes": "https://www.googleapis.com/auth/calendar/v3",
|
||||
"scopes": ["https://www.googleapis.com/auth/calendar/v3"],
|
||||
}
|
||||
|
||||
credentials = google.oauth2.credentials.Credentials(**credentials_dict)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue