Skip to content

Commit

Permalink
fix(smithy): defines Output type to fix beta tests (#3963)
Browse files Browse the repository at this point in the history
  • Loading branch information
haverchuck authored and khatruong2009 committed Nov 7, 2023
1 parent 75976f9 commit c7a37ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/smithy/smithy/lib/src/http/http_operation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ abstract class HttpOperation<InputPayload, Input, OutputPayload, Output>
try {
final payload = await protocol.deserialize(response.split());
output = switch (payload) {
Output _ => payload,
final Output p => p,
_ => buildOutput(payload, response),
};
successCode = this.successCode(output);
Expand Down

0 comments on commit c7a37ee

Please sign in to comment.