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 Oct 18, 2023
1 parent 9580c9f commit 6ab1a67
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 6ab1a67

Please sign in to comment.