Skip to content

Commit

Permalink
Remove unused param Create/EditSite.enable_nsfw
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed Jan 8, 2025
1 parent 2a89179 commit 9df10b3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/api_common/src/site.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ pub struct CreateSite {
#[cfg_attr(feature = "full", ts(optional))]
pub banner: Option<String>,
#[cfg_attr(feature = "full", ts(optional))]
pub enable_nsfw: Option<bool>,
#[cfg_attr(feature = "full", ts(optional))]
pub community_creation_admin_only: Option<bool>,
#[cfg_attr(feature = "full", ts(optional))]
pub require_email_verification: Option<bool>,
Expand Down Expand Up @@ -302,9 +300,6 @@ pub struct EditSite {
/// A url for your site's banner.
#[cfg_attr(feature = "full", ts(optional))]
pub banner: Option<String>,
/// Whether to enable NSFW.
#[cfg_attr(feature = "full", ts(optional))]
pub enable_nsfw: Option<bool>,
/// Limits community creation to admins only.
#[cfg_attr(feature = "full", ts(optional))]
pub community_creation_admin_only: Option<bool>,
Expand Down

0 comments on commit 9df10b3

Please sign in to comment.