Skip to content

Commit

Permalink
Fix missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Barber committed Oct 7, 2022
1 parent 3cfdaf5 commit 693c15e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class ServerProtocolTestGenerator(
"""
let mut http_request = #{SmithyHttpServer}::request::RequestParts::new(http_request);
let rejection = super::$operationName::from_request(&mut http_request).await.expect_err("request was accepted but we expected it to be rejected");
let http_response = rejection.into_response();
let http_response = #{SmithyHttpServer}::response::IntoResponse::into_response(rejection);
""",
*codegenScope,
)
Expand Down

0 comments on commit 693c15e

Please sign in to comment.