api3/admin/datastore.rs: change api patch for upload_catar
This commit is contained in:
parent
37b98249f4
commit
264f52cf70
@ -74,7 +74,10 @@ pub fn router() -> Router {
|
|||||||
ObjectSchema::new("Directory index.")
|
ObjectSchema::new("Directory index.")
|
||||||
.required("name", StringSchema::new("Datastore name.")))
|
.required("name", StringSchema::new("Datastore name.")))
|
||||||
)
|
)
|
||||||
.upload(upload_catar::api_method_upload_catar())
|
.subdir(
|
||||||
|
"upload_catar",
|
||||||
|
Router::new()
|
||||||
|
.upload(upload_catar::api_method_upload_catar()))
|
||||||
.subdir(
|
.subdir(
|
||||||
"gc",
|
"gc",
|
||||||
Router::new()
|
Router::new()
|
||||||
|
Loading…
Reference in New Issue
Block a user