diff --git a/crates/api_common/src/community.rs b/crates/api_common/src/community.rs index 1a9156b09..0eaeb5aa5 100644 --- a/crates/api_common/src/community.rs +++ b/crates/api_common/src/community.rs @@ -4,7 +4,12 @@ use lemmy_db_schema::{ CommunityVisibility, ListingType, }; -use lemmy_db_views_actor::structs::{CommunityModeratorView, CommunitySortType, CommunityView, PersonView}; +use lemmy_db_views_actor::structs::{ + CommunityModeratorView, + CommunitySortType, + CommunityView, + PersonView, +}; use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; #[cfg(feature = "full")] diff --git a/crates/apub/src/api/search.rs b/crates/apub/src/api/search.rs index bda8e07e6..0f4f8af92 100644 --- a/crates/apub/src/api/search.rs +++ b/crates/apub/src/api/search.rs @@ -14,7 +14,8 @@ use lemmy_db_views::{ }; use lemmy_db_views_actor::{ structs::CommunitySortType, - community_view::CommunityQuery, person_view::PersonQuery, + community_view::CommunityQuery, + person_view::PersonQuery, }; use lemmy_utils::error::LemmyResult; diff --git a/crates/db_views_actor/src/structs.rs b/crates/db_views_actor/src/structs.rs index c803fc0cc..ecf9ba11d 100644 --- a/crates/db_views_actor/src/structs.rs +++ b/crates/db_views_actor/src/structs.rs @@ -88,7 +88,6 @@ pub enum CommunitySortType { NameDesc, } - #[skip_serializing_none] #[derive(Debug, PartialEq, Serialize, Deserialize, Clone)] #[cfg_attr(feature = "full", derive(TS, Queryable))]