diff --git a/src/api3/admin/datastore.rs b/src/api3/admin/datastore.rs index fc8a6c34..4fa11c7c 100644 --- a/src/api3/admin/datastore.rs +++ b/src/api3/admin/datastore.rs @@ -74,7 +74,10 @@ pub fn router() -> Router { ObjectSchema::new("Directory index.") .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( "gc", Router::new()