diff --git a/src/api_schema/router.rs b/src/api_schema/router.rs index 3ff80882..834b46d9 100644 --- a/src/api_schema/router.rs +++ b/src/api_schema/router.rs @@ -236,7 +236,7 @@ impl Router { } match self.subroute { SubRoute::Hash(ref map) => { - let index = json!(map.keys().map(|s| json!({ "subdira": s})) + let index = json!(map.keys().map(|s| json!({ "subdir": s})) .collect::>()); self.get(ApiMethod::new( move || { Ok(index.clone()) },