From 158628026e65f453a5d407e38fadc4042c38c0ff Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 19 Sep 2024 15:26:11 +0200 Subject: [PATCH] fmt --- crates/api_crud/src/post/read.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(),