diff --git a/crates/utils/src/settings/mod.rs b/crates/utils/src/settings/mod.rs index fcd2774c6..72d986d2d 100644 --- a/crates/utils/src/settings/mod.rs +++ b/crates/utils/src/settings/mod.rs @@ -49,7 +49,7 @@ impl Settings { pub fn get_database_url(&self) -> String { if let Ok(url) = env::var("LEMMY_DATABASE_URL") { - return url; + url } else { self.database.connection.clone() }