/api3/admin/datastore.rs: add missing subdir to directory index

This commit is contained in:
Dietmar Maurer 2019-01-20 09:47:32 +01:00
parent 0b05fd5830
commit 29f34b8e1a

View File

@ -68,6 +68,7 @@ pub fn router() -> Router {
let datastore_info = Router::new() let datastore_info = Router::new()
.get(ApiMethod::new( .get(ApiMethod::new(
|_,_| Ok(json!([ |_,_| Ok(json!([
{"subdir": "catar" },
{"subdir": "status"}, {"subdir": "status"},
{"subdir": "gc" } {"subdir": "gc" }
])), ])),