Skip to content

Commit

Permalink
change drink service road error to sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGANGLOFF committed Apr 8, 2024
1 parent 4715619 commit abe3be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/sleep/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extern crate common;
use common::google::nearly_place_model::{exploit_json, Emplacement};
use common::google::Google;

#[get("/service/drink/<localisation>/<radius>")]
#[get("/service/sleep/<localisation>/<radius>")]
async fn index(localisation: String, radius: i32) -> Json<HashMap<String, Vec<Emplacement>>> {
let types = ["lodging", "campground"];
let mut res: HashMap<String, Vec<Emplacement>> = HashMap::new();
Expand Down

0 comments on commit abe3be9

Please sign in to comment.