Skip to content

Commit

Permalink
fix: remove clone
Browse files Browse the repository at this point in the history
  • Loading branch information
frdomovic committed Jun 20, 2024
1 parent 61d56a3 commit 777dd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/server/src/admin/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 777dd20

Please sign in to comment.