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:
Emma Alexia
2026-01-13 17:25:00 -05:00
committed by GitHub
parent 6030cb560c
commit 50a87ba933
3 changed files with 10 additions and 5 deletions

View File

@@ -576,9 +576,9 @@ impl DBUser {
sqlx::query!(
"
DELETE FROM notifications_deliveries
WHERE notification_id = ANY($1)
WHERE user_id = $1
",
&notifications
id as DBUserId
)
.execute(&mut **transaction)
.await?;