Diff
Cargo.toml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 445b90d..5be5964 100644 --- a/Cargo.toml +++ a/Cargo.toml @@ -10,7 +10,7 @@ [dependencies] ratelimit = "0.4.2" reqwest = "0.8.1" reqwest = "0.9.24" clap = "2.27.1" lazy_static = "0.2" fern = "0.4.3" diff --git a/src/main.rs b/src/main.rs index 4de5676..680c18c 100644 --- a/src/main.rs +++ a/src/main.rs @@ -164,7 +164,7 @@ debug!("{:?}", resp); if !resp.status().is_success() { if resp.status().eq(&StatusCode::NotFound) { if resp.status().eq(&StatusCode::NOT_FOUND) { Ok(()) } else { Err(Box::from("Bad response from Riot API"))