From 1c13135f253007dfd5c56b2ddf3412c9d66458ec Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 5 Oct 2023 16:27:16 +0200 Subject: [PATCH] admin api: remove broken GET /v0/key router rule --- src/api/admin/router.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),