Skip to content

Commit

Permalink
fix: Remove redundunt clone() (#849)
Browse files Browse the repository at this point in the history
Found after running: `make fix`

Co-authored-by: dheeraj.reddy <[email protected]>
  • Loading branch information
Squadrick and dheeraj-reddy-ts authored Nov 20, 2023
1 parent 4c99ae9 commit 99d49a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-webserver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 99d49a9

Please sign in to comment.