From a3e4a77b91cdc617c84b8c0e6d275d68d7292da7 Mon Sep 17 00:00:00 2001 From: Franz Dietrich Date: Wed, 7 Feb 2024 21:51:36 +0100 Subject: [PATCH] Update export all endpoint to include ID parameter --- terminwahl_back/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminwahl_back/src/main.rs b/terminwahl_back/src/main.rs index 491af93..724ca8e 100644 --- a/terminwahl_back/src/main.rs +++ b/terminwahl_back/src/main.rs @@ -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"))