backend
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user