fixed removing todo list items
This commit is contained in:
parent
db56118bfb
commit
047795810e
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1175,7 +1175,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "reminder_rs"
|
||||
version = "1.1.5"
|
||||
version = "1.1.6"
|
||||
dependencies = [
|
||||
"Inflector",
|
||||
"async-trait",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "reminder_rs"
|
||||
version = "1.1.5"
|
||||
version = "1.1.6"
|
||||
authors = ["jellywx <judesouthworth@pm.me>"]
|
||||
edition = "2018"
|
||||
|
||||
|
@ -176,7 +176,7 @@ INSERT INTO todos (user_id, value) VALUES (
|
||||
let deleting = sqlx::query_as!(
|
||||
Todo,
|
||||
"
|
||||
SELECT * FROM todos WHERE id = ?
|
||||
SELECT id, user_id, guild_id, channel_id, value FROM todos WHERE id = ?
|
||||
",
|
||||
removal_todo.id
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user