mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 22:31:20 +00:00
fmt
This commit is contained in:
parent
4b250cfe08
commit
158628026e
1 changed files with 3 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue