parent
8849d46fd3
commit
56f6b8edb4
@ -39,6 +39,7 @@ struct ExportAvailabillity {
|
||||
start_time: NaiveTime,
|
||||
end_time: NaiveTime,
|
||||
assigned: bool,
|
||||
comment: String
|
||||
}
|
||||
|
||||
#[actix_web::get("/export/availabilitydata")]
|
||||
@ -86,6 +87,7 @@ pub async fn get(
|
||||
start_time,
|
||||
end_time,
|
||||
assigned: false,
|
||||
comment: a.comment.unwrap_or(String::new())
|
||||
}
|
||||
})
|
||||
.collect();
|
||||
|
Loading…
x
Reference in New Issue
Block a user