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]] [[package]]
name = "reminder_rs" name = "reminder_rs"
version = "1.1.5" version = "1.1.6"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"async-trait", "async-trait",

View File

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

View File

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