From 777dd2083bca5b402d6a536368ec708aa859c46f Mon Sep 17 00:00:00 2001 From: Fran Domovic Date: Thu, 20 Jun 2024 16:25:23 +0200 Subject: [PATCH] fix: remove clone --- crates/server/src/admin/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/server/src/admin/service.rs b/crates/server/src/admin/service.rs index 837d3a545..7a5ca3ea8 100644 --- a/crates/server/src/admin/service.rs +++ b/crates/server/src/admin/service.rs @@ -84,7 +84,7 @@ pub(crate) fn setup( get(handlers::context::get_context_storage_handler), ) .route("/contexts", get(handlers::context::get_contexts_handler)) - .layer(middleware::auth::AuthSignatureLayer::new(store.clone())) + .layer(middleware::auth::AuthSignatureLayer::new(store)) .layer(Extension(shared_state.clone())); let unprotected_router = Router::new()