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