]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/api/read_community.rs
Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857)
[lemmy.git] / crates / apub / src / api / read_community.rs
index 1bdfb88a0ff775d3c0e30b1b226d7eb869e03be2..9f6e4357180615f79819eb17de056b494dafff2e 100644 (file)
@@ -54,7 +54,7 @@ pub async fn get_community(
     &mut context.pool(),
     community_id,
     person_id,
-    Some(is_mod_or_admin),
+    is_mod_or_admin,
   )
   .await
   .with_lemmy_type(LemmyErrorType::CouldntFindCommunity)?;