mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
sql: replace empty paramsv![] with empty tuples
This commit is contained in:
@@ -697,7 +697,7 @@ async fn export_self_keys(context: &Context, dir: &Path) -> Result<()> {
|
||||
.sql
|
||||
.query_map(
|
||||
"SELECT id, public_key, private_key, is_default FROM keypairs;",
|
||||
paramsv![],
|
||||
(),
|
||||
|row| {
|
||||
let id = row.get(0)?;
|
||||
let public_key_blob: Vec<u8> = row.get(1)?;
|
||||
|
||||
Reference in New Issue
Block a user