sync-engine
sync-engine copied to clipboard
Child events of a cancelled master event shouldnt be returned
trafficstars
In Google calendar, I created a recurring event, cancelled a few instances of the event, and then cancelled the entire event. When I request events that were not cancelled using the API: GET https://api.nylas.com/events, I do not get the cancelled master event, but I still get all the child events representing the cancelled instances:
{
"account_id": "...",
"busy": true,
"calendar_id": "...",
"description": null,
"id": "...",
"location": null,
"master_event_id": "...",
"message_id": null,
"object": "event",
"original_start_time": 1488223800,
"owner": "me <[email protected]>",
"participants": [],
"read_only": false,
"status": "cancelled",
"title": "recurring event 22",
"when": {
"end_time": 1488227400,
"object": "timespan",
"start_time": 1488223800
}
}