Skip to content

Commit

Permalink
fix JSONSelection::parse signature (#6230)
Browse files Browse the repository at this point in the history
  • Loading branch information
lennyburdette authored Nov 5, 2024
1 parent 725b07d commit 54a4963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apollo-router/src/plugins/connectors/http_json_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ mod tests {
connect_template: URLTemplate::from_str("http://localhost:8080/").unwrap(),
method: HTTPMethod::Post,
headers: Default::default(),
body: Some(JSONSelection::parse("$args { a }").unwrap().1),
body: Some(JSONSelection::parse("$args { a }").unwrap()),
},
vars,
&connect::Request {
Expand Down Expand Up @@ -845,7 +845,7 @@ mod tests {
connect_template: URLTemplate::from_str("http://localhost:8080/").unwrap(),
method: HTTPMethod::Post,
headers,
body: Some(JSONSelection::parse("$args { a }").unwrap().1),
body: Some(JSONSelection::parse("$args { a }").unwrap()),
},
vars,
&connect::Request {
Expand Down

0 comments on commit 54a4963

Please sign in to comment.