Formatting

This commit is contained in:
Steven Vergenz 2024-09-25 15:57:47 -07:00
parent 682604f849
commit 66c4fed3d6
3 changed files with 8 additions and 3 deletions

View File

@ -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")]

View File

@ -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;

View File

@ -88,7 +88,6 @@ pub enum CommunitySortType {
NameDesc,
}
#[skip_serializing_none]
#[derive(Debug, PartialEq, Serialize, Deserialize, Clone)]
#[cfg_attr(feature = "full", derive(TS, Queryable))]