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