Skip to content

Commit 99d49a9

Browse files
fix: Remove redundunt clone() (#849)
Found after running: `make fix` Co-authored-by: dheeraj.reddy <[email protected]>
1 parent 4c99ae9 commit 99d49a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ee/tabby-webserver/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub async fn attach_webserver(
4747
routing::post(graphql::<Arc<Schema>>).with_state(ctx.clone()),
4848
)
4949
.layer(Extension(schema))
50-
.route("/hub", routing::get(ws_handler).with_state(ctx.clone()));
50+
.route("/hub", routing::get(ws_handler).with_state(ctx));
5151

5252
let ui = ui
5353
.route("/graphql", routing::get(playground("/graphql", None)))

0 commit comments

Comments
 (0)