sync-engine
sync-engine copied to clipboard
Deleted recurring events still return on the api
Hello,
I created a recurring event in September (via google calendar) to repeat every TTh and then deleted it last week. The deletion was for all following events, so there was ~2months of recurrence. However, when making the call on the /events endpoint, the deleted event still shows up on Tuesdays and Thursdays (vs gcal). I have multiple events in the calendar that were deleted this way and they are all returned in the api response.
Here is the event response from the api (using Arrow for convenience)
{'account_id': '<>',
'busy': True,
'calendar_id': None,
'description': None,
'id': '4hqss7jq2z1qp9v4guinkd1uw_20151117T193000Z',
'location': 'RCH',
'master_event_id': '<>',
'object': 'event',
'owner': 'Kartik Talwar',
'participants': [],
'read_only': True,
'status': 'confirmed',
'title': 'SCI 267',
'when': {'end_time': <Arrow [2015-11-17T21:00:00+00:00]>,
'object': 'timespan',
'start_time': <Arrow [2015-11-17T19:30:00+00:00]>}}
Hi Kartik,
Are you expanding recurring events here?
Karim
Hey @khamidou, yes expand_recurring is set to True