Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaguilar committed Sep 15, 2023
1 parent a52821e commit 8c7f860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl APIClient {
let response: Response =
serde_json::from_str(&body).expect("response body in wrong format");

if let status = response.is_status_ok() & response.is_complete() {
if response.is_status_ok() & response.is_complete() {
println!("{}", response.data[0].current_state)
}
Ok((""))
Expand Down

0 comments on commit 8c7f860

Please sign in to comment.