Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffroy Couprie committed Dec 6, 2022
1 parent cfece42 commit 45f839c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions apollo-router/src/services/execution_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ where

response.errors = response.errors.into_iter().filter(|error| match &error.path {
None => true,
Some(error_path) => query.contains_path(error_path),
Some(error_path) => query.contains_path(error_path),
}).collect();
ready(Some(response))
}
Expand Down Expand Up @@ -177,7 +177,6 @@ where
})
.cloned()
.collect::<Vec<_>>();


let extensions: Object = response
.extensions
Expand Down
1 change: 0 additions & 1 deletion apollo-router/src/services/supergraph_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ mod tests {
.with_json(
serde_json::json!{{
"query":"{computer(id:\"Computer1\"){id errorField}}",

}},
serde_json::json!{{
"data": {
Expand Down

0 comments on commit 45f839c

Please sign in to comment.