X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapub%2Fsrc%2Fapi%2Fread_community.rs;h=9f6e4357180615f79819eb17de056b494dafff2e;hb=c8063f3267cf2b3622f1fdc69128c6b55feefbbc;hp=1bdfb88a0ff775d3c0e30b1b226d7eb869e03be2;hpb=9b710a2ed3df7411f97e873ae445e96fa5a8bd56;p=lemmy.git diff --git a/crates/apub/src/api/read_community.rs b/crates/apub/src/api/read_community.rs index 1bdfb88a..9f6e4357 100644 --- a/crates/apub/src/api/read_community.rs +++ b/crates/apub/src/api/read_community.rs @@ -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)?;