X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi_crud%2Fsrc%2Fcommunity%2Fcreate.rs;h=451e9bfa0cbfad12b628331df20077359df44a27;hb=d4ee171b085d8c7168b3c21b23177377360ff92f;hp=a7582d2ec5bbbf138512bd9850f5b8fd2ece64d1;hpb=763dc9668c0f483bf84393d5d456d832e511b466;p=lemmy.git diff --git a/crates/api_crud/src/community/create.rs b/crates/api_crud/src/community/create.rs index a7582d2e..451e9bfa 100644 --- a/crates/api_crud/src/community/create.rs +++ b/crates/api_crud/src/community/create.rs @@ -123,7 +123,7 @@ impl PerformCrud for CreateCommunity { let community_follower_form = CommunityFollowerForm { community_id: inserted_community.id, person_id: local_user_view.person.id, - pending: false, + pending: Some(false), }; let follow = move |conn: &'_ _| CommunityFollower::follow(conn, &community_follower_form);