From 7f8da3e58413df1030b445ec3c13c49a68fea920 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Tue, 23 Mar 2021 12:16:01 +0100 Subject: [PATCH] Removed unnecessary content type --- src/ivago/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ivago/mod.rs b/src/ivago/mod.rs index 7ba799e..ad71ca9 100644 --- a/src/ivago/mod.rs +++ b/src/ivago/mod.rs @@ -12,7 +12,7 @@ pub fn routes() -> Vec { // URL: https://www.ivago.be/nl/particulier/autocomplete/garbage/streets?q=Lange // TODO make this async // TODO change this so it can return errors instead of empty json -#[get("/search?", format="json")] +#[get("/search?")] pub fn search_streets_json(street: String) -> Json> { match controller::search_streets(&street) { Ok(streets) => Json(streets),