aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/router_v2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/admin/router_v2.rs')
-rw-r--r--src/api/admin/router_v2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin/router_v2.rs b/src/api/admin/router_v2.rs
index 9d203500..f9a976c4 100644
--- a/src/api/admin/router_v2.rs
+++ b/src/api/admin/router_v2.rs
@@ -15,7 +15,7 @@ impl AdminApiRequest {
/// Determine which S3 endpoint a request is for using the request, and a bucket which was
/// possibly extracted from the Host header.
/// Returns Self plus bucket name, if endpoint is not Endpoint::ListBuckets
- pub async fn from_request<T>(req: Request<IncomingBody>) -> Result<Self, Error> {
+ pub async fn from_request(req: Request<IncomingBody>) -> Result<Self, Error> {
let uri = req.uri().clone();
let path = uri.path();
let query = uri.query();