X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi_crud%2Fsrc%2Fuser%2Fcreate.rs;h=456617043d7675bb7ae67723d3a008302f575258;hb=3c111b3062e69b19e68a9b537c23a7e61ae34e94;hp=6752dcc84344059f217b40c0c25a136be1742107;hpb=d4ee171b085d8c7168b3c21b23177377360ff92f;p=lemmy.git diff --git a/crates/api_crud/src/user/create.rs b/crates/api_crud/src/user/create.rs index 6752dcc8..45661704 100644 --- a/crates/api_crud/src/user/create.rs +++ b/crates/api_crud/src/user/create.rs @@ -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);