fix: Remove redundunt clone() (#849)

Found after running: `make fix`

Co-authored-by: dheeraj.reddy <dheeraj.reddy@thoughtspot.com>
r0.6 wsxiaoys-patch-3
Dheeraj R Reddy 2023-11-20 13:26:57 -08:00 committed by GitHub
parent 4c99ae9598
commit 99d49a9c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ pub async fn attach_webserver(
routing::post(graphql::<Arc<Schema>>).with_state(ctx.clone()),
)
.layer(Extension(schema))
.route("/hub", routing::get(ws_handler).with_state(ctx.clone()));
.route("/hub", routing::get(ws_handler).with_state(ctx));
let ui = ui
.route("/graphql", routing::get(playground("/graphql", None)))