You've already forked AstralRinth
forked from didirus/AstralRinth
Fix reports sometimes being broken on the mod dashboard (#717)
This commit is contained in:
committed by
GitHub
parent
3380f4d11c
commit
5cab618bf7
@@ -488,7 +488,7 @@ impl User {
|
||||
sqlx::query!(
|
||||
"
|
||||
DELETE FROM reports
|
||||
WHERE user_id = $1
|
||||
WHERE user_id = $1 OR reporter = $1
|
||||
",
|
||||
id as UserId,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user