From 9df10b3dc9885f6a1cb8f6bc760c26b45e5c17c7 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 8 Jan 2025 10:28:01 +0100 Subject: [PATCH] Remove unused param Create/EditSite.enable_nsfw --- crates/api_common/src/site.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/api_common/src/site.rs b/crates/api_common/src/site.rs index 35f59fd44..ef3aa4f08 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,