{"push_id":696206784,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"037fca2d99a51c5ab1f99e92981e10c6a726be5c","before":"bbd8fcd93cc749112995dbf98ac419dc5fde0e2c","commits":[{"sha":"037fca2d99a51c5ab1f99e92981e10c6a726be5c","author":{"email":"47de38fbdece0d484472919c37c107cfadb2ad00@inboxapp.com","name":"Kavya Joshi"},"message":"Fix T1963: Event deletion through the API causes incorrect eventIDs to be returned by the events, delta sync endpoints.\n\nSummary:\nThe event deletion API simply marks the local event as 'cancelled' instead of deleting it.\nThis fixes three issues -\n\n* the event will NOT get a different public_id on syncing the delete back from the remote\n(we set showDeleted=True while syncing events from the remote).\nPreviously, a /new/ event with a different public_id would be created (with status='cancelled').\n* the delta matches what is returned when a deleted event is synced from the remote.\n* the event will be returned by the /events endpoint when show_cancelled=true.\n\nTest Plan: Unit test updated.\n\nReviewers: emfree\n\nReviewed By: emfree\n\nDifferential Revision: https://phab.nylas.com/D1632","distinct":true,"url":"https://api.github.com/repos/nylas/sync-engine/commits/037fca2d99a51c5ab1f99e92981e10c6a726be5c"}]}