mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
sql: replace empty paramsv![] with empty tuples
This commit is contained in:
@@ -163,7 +163,7 @@ impl BobState {
|
||||
// guaranteed to only have one row.
|
||||
sql.query_row_optional(
|
||||
"SELECT id, invite, next_step, chat_id FROM bobstate;",
|
||||
paramsv![],
|
||||
(),
|
||||
|row| {
|
||||
let s = BobState {
|
||||
id: row.get(0)?,
|
||||
|
||||
Reference in New Issue
Block a user