author | jordan <jordan@doyle.la> | 2023-07-09 21:40:46.0 +01:00:00 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-09 21:40:46.0 +01:00:00 |
commit | 394664fa8faa5696b6315918e0555183c2c38c0d [patch] |
|
tree | 0953e05391cabee6d9ded932bd25f23ea5e1d4fe |
|
parent | 74c9ce60420354ba06fd381e81a2144925149da5 |
|
parent | 99e2beb508ad503fe45aa92be3d6bef8914149bc |
|
download | master.tar.gz |
Merge pull request #4 from dretva/master
Bump "reqwest" dependency to make build work again
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"))