fix: Remove redundunt clone() (#849)
Found after running: `make fix` Co-authored-by: dheeraj.reddy <dheeraj.reddy@thoughtspot.com>r0.6 wsxiaoys-patch-3
parent
4c99ae9598
commit
99d49a9c43
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue