From b3603428568a4a1b8530df470c3ee4c49e023465 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Tue, 11 Jun 2024 12:36:47 -0700 Subject: [PATCH] Update create.rs --- crates/api_crud/src/site/create.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/api_crud/src/site/create.rs b/crates/api_crud/src/site/create.rs index 2d43ef919..a77deddaa 100644 --- a/crates/api_crud/src/site/create.rs +++ b/crates/api_crud/src/site/create.rs @@ -54,7 +54,6 @@ pub async fn create_site( validate_create_payload(&local_site, &data)?; - let inbox_url = Some(generate_shared_inbox_url(context.settings())?); let keypair = generate_actor_keypair()?; let slur_regex = local_site_to_slur_regex(&local_site); @@ -74,7 +73,6 @@ pub async fn create_site( icon: Some(icon), banner: Some(banner), last_refreshed_at: Some(naive_now()), - inbox_url, private_key: Some(Some(keypair.private_key)), public_key: Some(keypair.public_key), content_warning: diesel_string_update(data.content_warning.as_deref()),