Diff
Cargo.toml | 2 +-
src/main.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -10,7 +10,7 @@ description = "League of Legends username availablity checker."
[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"
@@ -164,7 +164,7 @@ fn send_request(server: &str, api_key: &str, username: &str) -> Result<(), Box<E
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"))