This commit is contained in:
2025-10-12 14:07:10 +02:00
parent 797a641263
commit 6724634870
4 changed files with 94 additions and 10 deletions
+3 -1
View File
@@ -64,7 +64,9 @@ pub fn create_router(state: AppState) -> Router<()> {
)
.route(
"/:id",
get(documents::get_document).delete(documents::delete_document),
get(documents::get_document)
.delete(documents::delete_document)
.patch(documents::update_document),
)
.route("/:id/download", get(documents::download_document))
.route(