From e06ffb10d1e5c41b827b95c65be17576b1031b27 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 16 Apr 2019 12:20:17 +0200 Subject: [PATCH] src/api_schema/router.rs: fix typo (subdira -> subdir) --- src/api_schema/router.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) },