mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-23 12:23:04 +00:00
minor typo conect -> connect
This commit is contained in:
parent
95dd1cd7ad
commit
d592323e39
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ fn check_db() {
|
|||
// Turn on WAL in SQLite
|
||||
if CONFIG.enable_db_wal() {
|
||||
use diesel::RunQueryDsl;
|
||||
let connection = db::get_connection().expect("Can't conect to DB");
|
||||
let connection = db::get_connection().expect("Can't connect to DB");
|
||||
diesel::sql_query("PRAGMA journal_mode=wal")
|
||||
.execute(&connection)
|
||||
.expect("Failed to turn on WAL");
|
||||
|
|
Loading…
Reference in a new issue