diff --git a/crates/api_common/src/site.rs b/crates/api_common/src/site.rs index 35f59fd44f..ef3aa4f088 100644 --- a/crates/api_common/src/site.rs +++ b/crates/api_common/src/site.rs @@ -203,8 +203,6 @@ pub struct CreateSite { #[cfg_attr(feature = "full", ts(optional))] pub banner: Option, #[cfg_attr(feature = "full", ts(optional))] - pub enable_nsfw: Option, - #[cfg_attr(feature = "full", ts(optional))] pub community_creation_admin_only: Option, #[cfg_attr(feature = "full", ts(optional))] pub require_email_verification: Option, @@ -302,9 +300,6 @@ pub struct EditSite { /// A url for your site's banner. #[cfg_attr(feature = "full", ts(optional))] pub banner: Option, - /// Whether to enable NSFW. - #[cfg_attr(feature = "full", ts(optional))] - pub enable_nsfw: Option, /// Limits community creation to admins only. #[cfg_attr(feature = "full", ts(optional))] pub community_creation_admin_only: Option,