diff --git a/inbox/events/google.py b/inbox/events/google.py index 8ebf0a00e..98e8dfb7f 100644 --- a/inbox/events/google.py +++ b/inbox/events/google.py @@ -1,4 +1,5 @@ """Provide Google Calendar events.""" + import datetime import email.utils import json @@ -131,7 +132,9 @@ def _get_raw_events( urllib.parse.quote(calendar_uid) ) try: - return self._get_resource_list(url, updatedMin=sync_from_time_str) + return self._get_resource_list( + url, updatedMin=sync_from_time_str, eventTypes="default" + ) except requests.exceptions.HTTPError as exc: assert exc.response is not None if exc.response.status_code == 410: @@ -381,6 +384,7 @@ def watch_calendar( try: r = requests.post( watch_url, + params={"eventTypes": "default"}, data=json.dumps(data), headers=headers, auth=OAuthRequestsWrapper(token),