diff options
-rw-r--r-- | src/api/admin/router.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin/router.rs b/src/api/admin/router.rs index 254aff12..691d1932 100644 --- a/src/api/admin/router.rs +++ b/src/api/admin/router.rs @@ -111,7 +111,7 @@ impl Endpoint { POST "/v1/key" => CreateKey, POST "/v1/key/import" => ImportKey, DELETE ("/v0/key" | "/v1/key") if id => DeleteKey (query::id), - GET ("/v0/key" | "/v1/key") => ListKeys, + GET "/v1/key" => ListKeys, // Bucket endpoints GET ("/v0/bucket" | "/v1/bucket") if id => GetBucketInfo (query_opt::id, query_opt::global_alias), GET ("/v0/bucket" | "/v1/bucket") if global_alias => GetBucketInfo (query_opt::id, query_opt::global_alias), |