diff --git a/crates/api/src/site/leave_admin.rs b/crates/api/src/site/leave_admin.rs index 9f94e06db..a22b898c6 100644 --- a/crates/api/src/site/leave_admin.rs +++ b/crates/api/src/site/leave_admin.rs @@ -75,7 +75,5 @@ pub async fn leave_admin( admin_oauth_providers: None, blocked_urls, tagline, - taglines: vec![], - custom_emojis: vec![], })) } diff --git a/crates/api_common/src/site.rs b/crates/api_common/src/site.rs index c03051939..838214406 100644 --- a/crates/api_common/src/site.rs +++ b/crates/api_common/src/site.rs @@ -450,10 +450,6 @@ pub struct GetSiteResponse { pub version: String, pub all_languages: Vec, pub discussion_languages: Vec, - /// deprecated, use field `tagline` or /api/v3/tagline/list - pub taglines: Vec<()>, - /// deprecated, use /api/v3/custom_emoji/list - pub custom_emojis: Vec<()>, /// If the site has any taglines, a random one is included here for displaying #[cfg_attr(feature = "full", ts(optional))] pub tagline: Option, diff --git a/crates/api_crud/src/site/read.rs b/crates/api_crud/src/site/read.rs index a840cd3c3..18f3dd3af 100644 --- a/crates/api_crud/src/site/read.rs +++ b/crates/api_crud/src/site/read.rs @@ -52,8 +52,6 @@ pub async fn get_site( tagline, oauth_providers: Some(oauth_providers), admin_oauth_providers: Some(admin_oauth_providers), - taglines: vec![], - custom_emojis: vec![], }) }) .await