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]]
|
[[package]]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.1.5"
|
version = "1.1.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Inflector",
|
"Inflector",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.1.5"
|
version = "1.1.6"
|
||||||
authors = ["jellywx <judesouthworth@pm.me>"]
|
authors = ["jellywx <judesouthworth@pm.me>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
@ -176,7 +176,7 @@ INSERT INTO todos (user_id, value) VALUES (
|
|||||||
let deleting = sqlx::query_as!(
|
let deleting = sqlx::query_as!(
|
||||||
Todo,
|
Todo,
|
||||||
"
|
"
|
||||||
SELECT * FROM todos WHERE id = ?
|
SELECT id, user_id, guild_id, channel_id, value FROM todos WHERE id = ?
|
||||||
",
|
",
|
||||||
removal_todo.id
|
removal_todo.id
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user