mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 12:21:18 +00:00
fix
This commit is contained in:
parent
ec7f902a92
commit
02e22ae9fd
1 changed files with 2 additions and 2 deletions
|
@ -94,14 +94,14 @@ pub async fn create_community(
|
||||||
site_view.site.instance_id,
|
site_view.site.instance_id,
|
||||||
data.name.clone(),
|
data.name.clone(),
|
||||||
data.title.clone(),
|
data.title.clone(),
|
||||||
keypair.private_key,
|
keypair.public_key,
|
||||||
);
|
);
|
||||||
community_form.description = description;
|
community_form.description = description;
|
||||||
community_form.icon = icon;
|
community_form.icon = icon;
|
||||||
community_form.banner = banner;
|
community_form.banner = banner;
|
||||||
community_form.nsfw = data.nsfw;
|
community_form.nsfw = data.nsfw;
|
||||||
community_form.actor_id = Some(community_actor_id.clone());
|
community_form.actor_id = Some(community_actor_id.clone());
|
||||||
community_form.public_key = keypair.public_key;
|
community_form.private_key = Some(keypair.private_key);
|
||||||
community_form.followers_url = Some(generate_followers_url(&community_actor_id)?);
|
community_form.followers_url = Some(generate_followers_url(&community_actor_id)?);
|
||||||
community_form.inbox_url = Some(generate_inbox_url(&community_actor_id)?);
|
community_form.inbox_url = Some(generate_inbox_url(&community_actor_id)?);
|
||||||
community_form.shared_inbox_url = Some(generate_shared_inbox_url(context.settings())?);
|
community_form.shared_inbox_url = Some(generate_shared_inbox_url(context.settings())?);
|
||||||
|
|
Loading…
Reference in a new issue