aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/router.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/admin/router.rs')
-rw-r--r--src/api/admin/router.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin/router.rs b/src/api/admin/router.rs
index 97ad6f76..d54dabe8 100644
--- a/src/api/admin/router.rs
+++ b/src/api/admin/router.rs
@@ -102,7 +102,7 @@ impl Endpoint {
// Layout endpoints
GET "/v1/layout" => GetClusterLayout,
POST "/v1/layout" => UpdateClusterLayout,
- POST ("/v0/layout/apply" | "/v1/layout/apply") => ApplyClusterLayout,
+ POST "/v1/layout/apply" => ApplyClusterLayout,
POST ("/v0/layout/revert" | "/v1/layout/revert") => RevertClusterLayout,
// API key endpoints
GET "/v1/key" if id => GetKeyInfo (query_opt::id, query_opt::search, query_opt::show_secret_key),