Fix delete command
This commit is contained in:
parent
651da7b28e
commit
7695b7a476
@ -169,7 +169,7 @@ impl ComponentDataModel {
|
||||
let selected_id = component.data.values.join(",");
|
||||
|
||||
sqlx::query!(
|
||||
"UPDATE reminders SET `status` = 'pending' WHERE FIND_IN_SET(id, ?)",
|
||||
"UPDATE reminders SET `status` = 'deleted' WHERE FIND_IN_SET(id, ?)",
|
||||
selected_id
|
||||
)
|
||||
.execute(&data.database)
|
||||
|
Loading…
Reference in New Issue
Block a user