diff --git a/src/model/groups.rs b/src/model/groups.rs index 528d98e..0d0cfd0 100644 --- a/src/model/groups.rs +++ b/src/model/groups.rs @@ -84,8 +84,8 @@ pub struct GroupAuditLog { /// The display name of the actor. pub actor_displayname: Option, /// The unique identifier of the target of the action. - #[serde(with = "either::serde_untagged")] - pub target_id: Either, + #[serde(with = "either::serde_untagged_optional")] + pub target_id: Option>, /// The type of event captured in the audit log. pub event_type: String, /// The description of the event captured in the audit log.