You've already forked AstralRinth
forked from didirus/AstralRinth
Fix user deletion (again) (again) (notifications_deliveries) (#5112)
Doesn't seem to work fully with notification IDs, not sure why.
This commit is contained in:
@@ -576,9 +576,9 @@ impl DBUser {
|
||||
sqlx::query!(
|
||||
"
|
||||
DELETE FROM notifications_deliveries
|
||||
WHERE notification_id = ANY($1)
|
||||
WHERE user_id = $1
|
||||
",
|
||||
¬ifications
|
||||
id as DBUserId
|
||||
)
|
||||
.execute(&mut **transaction)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user