make database path a pathbuf

I'm guessing it wasn't like this already because of one of the admin
commands I deleted.
This commit is contained in:
Charles Hall 2025-02-28 11:03:25 -08:00
parent 5a5608e088
commit 81a449d1d2
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 7 additions and 8 deletions

View file

@ -110,7 +110,7 @@ impl Engine {
impl KeyValueDatabaseEngine for Arc<Engine> {
fn open(config: &Config) -> Result<Self> {
let path = Path::new(&config.database.path).join(format!(
let path = config.database.path.join(format!(
"{}.db",
if config.conduit_compat {
"conduit"