Skip to content

Commit

Permalink
fixed the expected requst method for the indoor maps being wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 14, 2024
1 parent 3ebd413 commit 8810747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/maps/indoor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<i64>,
data: web::Data<crate::AppData>,
Expand All @@ -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<Arguments>,
data: web::Data<crate::AppData>,
Expand Down

0 comments on commit 8810747

Please sign in to comment.