Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Nov 13, 2024
1 parent e5553ab commit 01dee92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/torii/graphql/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ fn graphql_filter(
};

let playground_filter = warp::path("graphql").map(move || {
warp::reply::html(GraphiQLSource::build().endpoint("/graphql").subscription_endpoint(subscription_endpoint.as_str()).finish())
warp::reply::html(
GraphiQLSource::build()
.endpoint("/graphql")
.subscription_endpoint(subscription_endpoint.as_str())
.finish(),
)

Check warning on line 73 in crates/torii/graphql/src/server.rs

View check run for this annotation

Codecov / codecov/patch

crates/torii/graphql/src/server.rs#L68-L73

Added lines #L68 - L73 were not covered by tests
});

graphql_subscription(schema).or(graphql_post).or(playground_filter)
Expand Down

0 comments on commit 01dee92

Please sign in to comment.