remove taglines and custom emojis from siteview

This commit is contained in:
Felix Ableitner 2024-11-22 09:56:27 +01:00
parent 88b0aba101
commit b365d7f961
3 changed files with 0 additions and 8 deletions

View file

@ -75,7 +75,5 @@ pub async fn leave_admin(
admin_oauth_providers: None,
blocked_urls,
tagline,
taglines: vec![],
custom_emojis: vec![],
}))
}

View file

@ -450,10 +450,6 @@ pub struct GetSiteResponse {
pub version: String,
pub all_languages: Vec<Language>,
pub discussion_languages: Vec<LanguageId>,
/// 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<Tagline>,

View file

@ -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