diff --git a/src/authentication.rs b/src/authentication.rs index f0acca1..43a218c 100644 --- a/src/authentication.rs +++ b/src/authentication.rs @@ -92,7 +92,7 @@ fn auth_poller(url: &str, app_sink: &CbSink) { .unwrap_or(timeout) < timeout { - if let Ok(mut response) = reqwest::blocking::get(&url) { + if let Ok(response) = reqwest::blocking::get(&url) { if response.status() != reqwest::StatusCode::ACCEPTED { let result = match response.status() { reqwest::StatusCode::OK => {