diff --git a/Wino.Core/Synchronizers/OutlookSynchronizer.cs b/Wino.Core/Synchronizers/OutlookSynchronizer.cs index 99123d7c..89a91639 100644 --- a/Wino.Core/Synchronizers/OutlookSynchronizer.cs +++ b/Wino.Core/Synchronizers/OutlookSynchronizer.cs @@ -1635,23 +1635,13 @@ public class OutlookSynchronizer : WinoSynchronizer { + requestConfiguration.QueryParameters.Select = ["id", "type"]; requestConfiguration.QueryParameters.StartDateTime = startDate; requestConfiguration.QueryParameters.EndDateTime = endDate; }, cancellationToken: cancellationToken); - - // No delta link. Performing initial sync. - //eventsDeltaResponse = await _graphClient.Me.CalendarView.Delta.GetAsDeltaGetResponseAsync((requestConfiguration) => - //{ - // requestConfiguration.QueryParameters.StartDateTime = startDate; - // requestConfiguration.QueryParameters.EndDateTime = endDate; - - // // TODO: Expand does not work. - // // https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2358 - - // requestConfiguration.QueryParameters.Expand = new string[] { "calendar($select=name,id)" }; // Expand the calendar and select name and id. Customize as needed. - //}, cancellationToken: cancellationToken); } else { @@ -1702,22 +1692,7 @@ public class OutlookSynchronizer : WinoSynchronizer