From 83e62542ccbdf48b274a1392e185bd8174a9310e Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Wed, 18 Jan 2023 21:07:26 +0200 Subject: [PATCH] fix: previous commit --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f749a49..00126a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,8 +30,6 @@ struct RandomArgs { /// check https://wallhaven.cc/help/api#search /// for shid q: String, - /// api key from wallhaven.cc - api_key: String, } #[derive(Deserialize)] @@ -45,7 +43,7 @@ struct WHSearchRes { } /// get redirected to random img -/// e.g. localhost:3000/random/2560x1440/16x9/100/001/+forest/APIKEY +/// e.g. localhost:3000/random/2560x1440/16x9/100/001/+forest #[get("/random/{atleast}/{ratios}/{purity}/{categories}/{q}")] async fn random(args: web::Path) -> impl Responder { let atl = args.atleast.clone(); -- 2.44.1