diff --git a/crates/api_crud/src/post/read.rs b/crates/api_crud/src/post/read.rs index 671dc4fd5..0200696d5 100644 --- a/crates/api_crud/src/post/read.rs +++ b/crates/api_crud/src/post/read.rs @@ -40,7 +40,9 @@ pub async fn get_post( }; // Check to see if the person is a mod or admin, to show deleted / removed - let community_id = Post::read_xx(&mut context.pool(), post_id).await?.community_id; + let community_id = Post::read_xx(&mut context.pool(), post_id) + .await? + .community_id; let is_mod_or_admin = is_mod_or_admin_opt( &mut context.pool(),