]> Untitled Git - lemmy.git/blobdiff - crates/api_crud/src/user/create.rs
Dropping default on pending column.
[lemmy.git] / crates / api_crud / src / user / create.rs
index 6752dcc84344059f217b40c0c25a136be1742107..456617043d7675bb7ae67723d3a008302f575258 100644 (file)
@@ -232,7 +232,7 @@ impl PerformCrud for Register {
     let community_follower_form = CommunityFollowerForm {
       community_id: main_community.id,
       person_id: inserted_person.id,
-      pending: Some(false),
+      pending: false,
     };
 
     let follow = move |conn: &'_ _| CommunityFollower::follow(conn, &community_follower_form);