mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 13:51:19 +00:00
Fixing GetPostsResponse serialization. (#3967)
This commit is contained in:
parent
8c419103b2
commit
89b7c981f5
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ pub struct GetPosts {
|
|||
pub page_cursor: Option<PaginationCursor>,
|
||||
}
|
||||
|
||||
#[skip_serializing_none]
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
#[cfg_attr(feature = "full", derive(TS))]
|
||||
#[cfg_attr(feature = "full", ts(export))]
|
||||
|
|
Loading…
Reference in a new issue