mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-01 01:21:19 +00:00
Update create.rs
This commit is contained in:
parent
b816b4bcad
commit
4b7a9656ee
|
@ -86,9 +86,6 @@ pub async fn create_community(
|
||||||
.nsfw(data.nsfw)
|
.nsfw(data.nsfw)
|
||||||
.private_key(Some(keypair.private_key))
|
.private_key(Some(keypair.private_key))
|
||||||
.public_key(keypair.public_key)
|
.public_key(keypair.public_key)
|
||||||
.followers_url(Some(generate_followers_url(&community_actor_id)?))
|
|
||||||
.inbox_url(Some(generate_inbox_url(&community_actor_id)?))
|
|
||||||
.shared_inbox_url(Some(generate_shared_inbox_url(context.settings())?))
|
|
||||||
.posting_restricted_to_mods(data.posting_restricted_to_mods)
|
.posting_restricted_to_mods(data.posting_restricted_to_mods)
|
||||||
.instance_id(site_view.site.instance_id)
|
.instance_id(site_view.site.instance_id)
|
||||||
.visibility(data.visibility)
|
.visibility(data.visibility)
|
||||||
|
|
Loading…
Reference in a new issue