lemmynsfw-changes
Felix Ableitner 2024-01-25 15:23:23 +01:00
parent 87954f0c98
commit b207c18884
1 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ async fn try_main() -> LemmyResult<()> {
fn site() -> LemmyResult<Site> { fn site() -> LemmyResult<Site> {
Ok(Site { Ok(Site {
id: Default::default(), id: Default::default(),
name: "".to_string(), name: String::new(),
sidebar: None, sidebar: None,
published: Default::default(), published: Default::default(),
updated: None, updated: None,
@ -194,7 +194,7 @@ fn site() -> LemmyResult<Site> {
last_refreshed_at: Default::default(), last_refreshed_at: Default::default(),
inbox_url: Url::parse("http://example.com")?.into(), inbox_url: Url::parse("http://example.com")?.into(),
private_key: None, private_key: None,
public_key: "".to_string(), public_key: String::new(),
instance_id: Default::default(), instance_id: Default::default(),
content_warning: None, content_warning: None,
}) })