]> Untitled Git - lemmy.git/blobdiff - crates/api/src/community/follow.rs
Making community_follower.pending column not null.
[lemmy.git] / crates / api / src / community / follow.rs
index a61383b219316bafccc19b1b2ddfe9702c54d96f..15a56b17b0ba50832beaefbea9bf8e0dd6340fa1 100644 (file)
@@ -47,7 +47,7 @@ impl Perform for FollowCommunity {
     let community_follower_form = CommunityFollowerForm {
       community_id: data.community_id,
       person_id: local_user_view.person.id,
-      pending: false, // Don't worry, this form isn't used for remote follows
+      pending: Some(false), // Don't worry, this form isn't used for remote follows
     };
 
     if community.local {