Update rusqlite from 0.24 to 0.25

This commit is contained in:
link2xt
2021-05-01 06:23:06 +03:00
parent c5aef03008
commit 17ad4e99ee
10 changed files with 35 additions and 35 deletions

View File

@@ -63,7 +63,7 @@ pub async fn lookup(
Some(chat_id) => {
context
.sql
.query_get_value::<String>(
.query_get_value(
"SELECT token FROM tokens WHERE namespc=? AND foreign_id=?;",
paramsv![namespace, chat_id],
)
@@ -73,7 +73,7 @@ pub async fn lookup(
None => {
context
.sql
.query_get_value::<String>(
.query_get_value(
"SELECT token FROM tokens WHERE namespc=? AND foreign_id=0;",
paramsv![namespace],
)