style: align admin-api formatting with CI

This commit is contained in:
a.tolmachev
2026-03-28 01:16:54 +03:00
parent efbe445e6f
commit e342bac29a
+1 -4
View File
@@ -16,10 +16,7 @@ use crate::{app::build_app, service::AdminService, state::AppState};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
tracing_subscriber::fmt()
.with_env_filter(
env::var("CRANK_LOG_LEVEL")
.unwrap_or_else(|_| "admin_api=info,tower_http=info".into()),
)
.with_env_filter(env::var("CRANK_LOG_LEVEL").unwrap_or_else(|_| "admin_api=info,tower_http=info".into()))
.init();
let database_url = env::var("CRANK_DATABASE_URL")?;