Fix build issue on newer Rust versions
This commit is contained in:
parent
a9c50d36a7
commit
48a43bf190
@ -84,7 +84,7 @@ pub async fn get_full_list(m: FamilyInPath) -> HttpResult {
|
||||
|
||||
/// Get the information of a single accommodation
|
||||
pub async fn get_single(m: FamilyAndAccommodationInPath) -> HttpResult {
|
||||
Ok(HttpResponse::Ok().json(&m.to_accommodation()))
|
||||
Ok(HttpResponse::Ok().json(m.to_accommodation()))
|
||||
}
|
||||
|
||||
/// Update an accommodation
|
||||
|
Loading…
Reference in New Issue
Block a user