fixed removing todo list items

This commit is contained in:
jude 2020-10-27 22:53:05 +00:00
parent db56118bfb
commit 047795810e
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1175,7 +1175,7 @@ dependencies = [
[[package]]
name = "reminder_rs"
version = "1.1.5"
version = "1.1.6"
dependencies = [
"Inflector",
"async-trait",

View File

@ -1,6 +1,6 @@
[package]
name = "reminder_rs"
version = "1.1.5"
version = "1.1.6"
authors = ["jellywx <judesouthworth@pm.me>"]
edition = "2018"

View File

@ -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
)