]> Untitled Git - lemmy.git/blobdiff - crates/api_crud/src/community/create.rs
Dropping default on pending column.
[lemmy.git] / crates / api_crud / src / community / create.rs
index 451e9bfa0cbfad12b628331df20077359df44a27..a7582d2ec5bbbf138512bd9850f5b8fd2ece64d1 100644 (file)
@@ -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: Some(false),
+      pending: false,
     };
 
     let follow = move |conn: &'_ _| CommunityFollower::follow(conn, &community_follower_form);