From 9df10b3dc9885f6a1cb8f6bc760c26b45e5c17c7 Mon Sep 17 00:00:00 2001
From: Felix Ableitner <me@nutomic.com>
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 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<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>,
@@ -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>,