]> Untitled Git - lemmy.git/blobdiff - crates/db_views_actor/src/community_follower_view.rs
Making community_follower.pending column not null.
[lemmy.git] / crates / db_views_actor / src / community_follower_view.rs
index 7e37e446a774a83a84b2b95d2f0b2ecee9744c50..7bece59d353db42922a969ad1ae571c18ce5dfb9 100644 (file)
@@ -10,7 +10,7 @@ use lemmy_db_schema::{
   traits::{ToSafe, ViewToVec},
 };
 
-type CommunityFollowerViewTuple = (CommunitySafe, PersonSafe, Option<bool>);
+type CommunityFollowerViewTuple = (CommunitySafe, PersonSafe, bool);
 
 impl CommunityFollowerView {
   pub fn for_community(conn: &PgConnection, community_id: CommunityId) -> Result<Vec<Self>, Error> {