add: delete uploads and polls when user is deleted
This commit is contained in:
parent
f6eb46e7e8
commit
40fce4bc77
6 changed files with 66 additions and 5 deletions
|
@ -1547,7 +1547,7 @@ impl DataManager {
|
|||
|
||||
// remove poll
|
||||
if y.poll_id != 0 {
|
||||
self.delete_poll(y.poll_id, user).await?;
|
||||
self.delete_poll(y.poll_id, &user).await?;
|
||||
}
|
||||
|
||||
// return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue