diff --git a/crates/api_common/src/post.rs b/crates/api_common/src/post.rs index 7c3aabb60..bb5c1cccc 100644 --- a/crates/api_common/src/post.rs +++ b/crates/api_common/src/post.rs @@ -82,6 +82,7 @@ pub struct GetPosts { pub page_cursor: Option, } +#[skip_serializing_none] #[derive(Serialize, Deserialize, Debug, Clone)] #[cfg_attr(feature = "full", derive(TS))] #[cfg_attr(feature = "full", ts(export))]