]> Untitled Git - lemmy.git/blobdiff - crates/api/src/community/transfer.rs
Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857)
[lemmy.git] / crates / api / src / community / transfer.rs
index 2b6579c4de2170a23e78741218c4abf432f062c5..c63c25750fd66b0a00c9f391b795438776cd7da2 100644 (file)
@@ -84,7 +84,7 @@ impl Perform for TransferCommunity {
     let community_id = data.community_id;
     let person_id = local_user_view.person.id;
     let community_view =
-      CommunityView::read(&mut context.pool(), community_id, Some(person_id), None)
+      CommunityView::read(&mut context.pool(), community_id, Some(person_id), false)
         .await
         .with_lemmy_type(LemmyErrorType::CouldntFindCommunity)?;