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 9f72cd9b9c - Show all commits

View File

@ -158,7 +158,7 @@ pub async fn validate_or_reject(
q: web::Json<ValidateQuery>,
) -> HttpResult {
if !m.membership().is_admin {
return Ok(HttpResponse::BadRequest().json("Only an admin can validate a reservation!"));
return Ok(HttpResponse::BadRequest().json("Only a family admin can validate a reservation!"));
}
if m.validated == Some(q.validate) {