idk i did a thing

This commit is contained in:
blank X 2020-10-29 13:23:33 +07:00
parent 77bf30fada
commit a986e78cd7
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1097,7 +1097,7 @@ dependencies = [
[[package]]
name = "rss-anime-notifier-rs"
version = "0.1.2"
version = "0.1.3"
dependencies = [
"chrono",
"reqwest",

View File

@ -1,6 +1,6 @@
[package]
name = "rss-anime-notifier-rs"
version = "0.1.2"
version = "0.1.3"
authors = ["blank X <theblankx@protonmail.com>"]
edition = "2018"

View File

@ -150,7 +150,7 @@ async fn main() {
let client = Client::new();
let client = warp::any().map(move || client.clone());
let log = warp::log("rss-anime-notifier-rs");
let bare_path = warp::path!(usize).and(client.clone()).and_then(give_response).with(log);
let bare_path = warp::path!(usize).and(client).and_then(give_response).with(log);
let routes = warp::get().and(bare_path);
eprintln!("INFO: Listening on 127.0.0.1:{}", port);