mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-26 12:51:30 +00:00
Allow reports to be resolved, even if the community is deleted / removed. (#4345)
Fixes #4344
This commit is contained in:
parent
2f3a7abe6b
commit
5f603985c0
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue