Update export all endpoint to include ID parameter
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user