mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 06:26:30 +03:00
Update rusqlite from 0.24 to 0.25
This commit is contained in:
@@ -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],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user