diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rs index 4cabc14bb..54f96129a 100755 --- a/screenpipe-app-tauri/src-tauri/src/main.rs +++ b/screenpipe-app-tauri/src-tauri/src/main.rs @@ -670,7 +670,10 @@ async fn main() { if pipe["enabled"].as_bool().unwrap_or(false) { if let Some(id) = pipe["id"].as_str() { let _ = reqwest::Client::new() - .post(format!("http://localhost:3030/pipes/stop/{}", id)) + .post(format!("http://localhost:3030/pipes/disable")) + .json(&serde_json::json!({ + "pipe_id": id + })) .send() .await; }