diff --git a/crates/lair_keystore/src/store_sqlite.rs b/crates/lair_keystore/src/store_sqlite.rs index d59a2b1..9ab18c5 100644 --- a/crates/lair_keystore/src/store_sqlite.rs +++ b/crates/lair_keystore/src/store_sqlite.rs @@ -179,7 +179,7 @@ impl SqlPool { // only set WAL mode on the first write connection // it's a slow operation, and not needed on subsequent connections. write_con - .pragma_update(None, "journal_mode", &"WAL".to_string()) + .pragma_update(None, "journal_mode", "WAL".to_string()) .map_err(one_err::OneErr::new)?; // initialize tables if they don't already exist