diff --git a/src/component_models/mod.rs b/src/component_models/mod.rs index 65fd9e2..9251796 100644 --- a/src/component_models/mod.rs +++ b/src/component_models/mod.rs @@ -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)