Update export all endpoint to include ID parameter

This commit is contained in:
Franz Dietrich 2024-02-07 21:51:36 +01:00
parent d7b5694188
commit a3e4a77b91

View File

@ -102,7 +102,7 @@ async fn main() -> std::io::Result<()> {
.route(web::get().to(views::delete_appointment)),
)
.service(
web::resource("/export/all/{password}")
web::resource("/export/all/{password}/{id}")
.route(web::get().to(views::export_appointments)),
)
.service(Files::new("/", wasm_statics.clone()).index_file("index.html"))