Add an accommodations reservations module #188

Merged
pierre merged 81 commits from accomodation_module into master 2024-06-22 21:30:26 +00:00
Showing only changes of commit bc800e7cf6 - Show all commits

View File

@ -67,7 +67,10 @@ pub async fn create(
}
/// Delete an accommodation
pub async fn delete(m: FamilyAndAccommodationInPath) -> HttpResult {
pub async fn delete(
m: FamilyAndAccommodationInPath,
_admin: FamilyInPathWithAdminMembership,
) -> HttpResult {
accommodations_list_service::delete(&mut m.to_accommodation()).await?;
Ok(HttpResponse::Ok().finish())
}