Skip to content

Commit

Permalink
Correct structure of SyncFolderHierarchy Changes for delete (#37)
Browse files Browse the repository at this point in the history
The `Delete` variant incorrectly omitted the field name for the
contained folder ID.
  • Loading branch information
leftmostcat authored Dec 6, 2024
1 parent 1b7017d commit dc5b9e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/types/sync_folder_hierarchy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ pub enum Change {
/// A deletion of a folder.
///
/// See <https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/delete-foldersync>
Delete(
#[serde(rename_all = "PascalCase")]
Delete {
/// The EWS ID for the deleted folder.
FolderId,
),
folder_id: FolderId,
},
}

0 comments on commit dc5b9e0

Please sign in to comment.