From 881074771354f06614a1f55a95cf91a013b62062 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 14 Aug 2024 21:15:24 +0200 Subject: [PATCH] fixed the expected requst method for the indoor maps being wrong --- server/src/maps/indoor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/maps/indoor.rs b/server/src/maps/indoor.rs index 270c96e14..ef8cb6760 100644 --- a/server/src/maps/indoor.rs +++ b/server/src/maps/indoor.rs @@ -38,7 +38,7 @@ struct Arguments { bbox: geo::Rect, } -#[post("/api/maps/indoor/{id}")] +#[get("/api/maps/indoor/{id}")] pub async fn get_indoor_map( params: web::Path, data: web::Data, @@ -62,7 +62,7 @@ struct RemoteMap { url: Url, } -#[post("/api/maps/indoor")] +#[get("/api/maps/indoor")] pub async fn list_indoor_maps( web::Query(args): web::Query, data: web::Data,