Skip to content

Commit

Permalink
fix endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
neo773 committed Jan 13, 2025
1 parent 7387b33 commit 41204f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion screenpipe-app-tauri/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 41204f7

Please sign in to comment.