diff --git a/WatcherAgent/Cargo.toml b/WatcherAgent/Cargo.toml index 741f6e1..708a8c3 100644 --- a/WatcherAgent/Cargo.toml +++ b/WatcherAgent/Cargo.toml @@ -11,7 +11,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version = "1.37", features = ["full"] } local-ip-address = "0.5" -reqwest = { version = "0.11", default-features = false, features = ["json", "blocking", "cookies", "rustls-tls", "statuscode"] } +reqwest = { version = "0.11", default-features = false, features = ["json", "blocking", "cookies", "rustls-tls"] } sysinfo = "0.29" metrics = "0.24.2" chrono = "0.4" diff --git a/WatcherAgent/src/main.rs b/WatcherAgent/src/main.rs index bcd6a57..b2c0da0 100644 --- a/WatcherAgent/src/main.rs +++ b/WatcherAgent/src/main.rs @@ -185,6 +185,11 @@ async fn register_with_server(base_url: &str) -> Result<(i32, String), Box Result<(i32, String), Box