Can get all the reservations of a given accommodation
This commit is contained in:
@@ -231,7 +231,11 @@ async fn main() -> std::io::Result<()> {
|
||||
// TODO : get single
|
||||
// TODO : update
|
||||
// TODO : delete
|
||||
// TODO : list for an accommodation
|
||||
.route(
|
||||
"/family/{id}/accommodations/reservations/accommodation/{accommodation_id}",
|
||||
web::get()
|
||||
.to(accommodations_reservations_controller::get_accommodation_reservations),
|
||||
)
|
||||
.route(
|
||||
"/family/{id}/accommodations/reservations/full_list",
|
||||
web::get().to(accommodations_reservations_controller::full_list),
|
||||
|
||||
Reference in New Issue
Block a user