diff --git a/crates/api_crud/src/site/create.rs b/crates/api_crud/src/site/create.rs index 6b1909966..2d43ef919 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 actor_id: DbUrl = Url::parse(&context.settings().get_protocol_and_hostname())?.into(); let inbox_url = Some(generate_shared_inbox_url(context.settings())?); let keypair = generate_actor_keypair()?; @@ -74,7 +73,6 @@ pub async fn create_site( description: diesel_string_update(data.description.as_deref()), icon: Some(icon), banner: Some(banner), - actor_id: Some(actor_id), last_refreshed_at: Some(naive_now()), inbox_url, private_key: Some(Some(keypair.private_key)),