Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Nov 7, 2024
1 parent a0eceba commit 9502dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apollo-router/src/services/supergraph/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ async fn service_call(
let _ = lock.insert::<OperationLimits<u32>>(query_metrics);
});

let is_deferred = plan.is_deferred(&variables);
let is_deferred = plan.is_deferred(variables);
let is_subscription = plan.is_subscription();

if let Some(batching) = context
Expand Down Expand Up @@ -266,7 +266,7 @@ async fn service_call(
.extensions()
.with_lock(|lock| lock.get::<BatchQuery>().cloned());
if let Some(batch_query) = batch_query_opt {
let query_hashes = plan.query_hashes(batching, &variables)?;
let query_hashes = plan.query_hashes(batching, variables)?;
batch_query
.set_query_hashes(query_hashes)
.await
Expand Down

0 comments on commit 9502dff

Please sign in to comment.