Allow reports to be resolved, even if the community is deleted / removed. (#4345)

Fixes #4344
reduce-pool-size^2
Dessalines 4 months ago committed by GitHub
parent 2f3a7abe6b
commit 5f603985c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@ pub async fn resolve_comment_report(
check_community_mod_action(
&local_user_view.person,
report.community.id,
false,
true,
&mut context.pool(),
)
.await?;

@ -23,7 +23,7 @@ pub async fn resolve_post_report(
check_community_mod_action(
&local_user_view.person,
report.community.id,
false,
true,
&mut context.pool(),
)
.await?;

Loading…
Cancel
Save