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,