mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 08:34:13 +02:00
flake updates
This commit is contained in:
parent
d69ac5e8f2
commit
b1060bbb73
4 changed files with 24 additions and 24 deletions
|
|
@ -278,7 +278,7 @@ fn parse_db_options(parsed: &Value) -> Result<Database> {
|
|||
.ok_or(DbError::NoDataDirectory)?;
|
||||
let db_name = parsed["dbname"].as_str().unwrap_or("owncloud");
|
||||
Ok(Database::Sqlite {
|
||||
database: format!("{}/{}.db", data_dir, db_name).into(),
|
||||
database: format!("{data_dir}/{db_name}.db").into(),
|
||||
})
|
||||
}
|
||||
Some(ty) => Err(Error::InvalidDb(DbError::Unsupported(ty.into()))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue