From 6d95070f7b32024c5df1ebbed96813de8da9656d Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Sun, 12 Jul 2026 23:16:17 +0200 Subject: [PATCH] style(wizard): rustfmt infrastructure/onboarding.rs --- .../src/infrastructure/onboarding.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/compliance-dashboard/src/infrastructure/onboarding.rs b/compliance-dashboard/src/infrastructure/onboarding.rs index 3939000..09c2a05 100644 --- a/compliance-dashboard/src/infrastructure/onboarding.rs +++ b/compliance-dashboard/src/infrastructure/onboarding.rs @@ -80,12 +80,14 @@ pub async fn create_target( /// Run kind-based classification on a target. #[server] pub async fn detect_target(id: String) -> Result { - let resp = - super::agent_client::agent_request(reqwest::Method::POST, &format!("/api/v1/targets/{id}/detect")) - .await? - .send() - .await - .map_err(|e| ServerFnError::new(e.to_string()))?; + let resp = super::agent_client::agent_request( + reqwest::Method::POST, + &format!("/api/v1/targets/{id}/detect"), + ) + .await? + .send() + .await + .map_err(|e| ServerFnError::new(e.to_string()))?; resp.json() .await .map_err(|e| ServerFnError::new(e.to_string()))