diff --git a/crates/handlers/src/admin/model.rs b/crates/handlers/src/admin/model.rs index 71052a79e..7936c02f8 100644 --- a/crates/handlers/src/admin/model.rs +++ b/crates/handlers/src/admin/model.rs @@ -804,11 +804,11 @@ pub struct PersonalSession { revoked_at: Option>, /// The ID of the user who owns this session (if user-owned) - #[schemars(with = "super::schema::Ulid")] + #[schemars(with = "Option")] owner_user_id: Option, /// The ID of the `OAuth2` client that owns this session (if client-owned) - #[schemars(with = "super::schema::Ulid")] + #[schemars(with = "Option")] owner_client_id: Option, /// The ID of the user that the session acts on behalf of