Skip to content

Commit 982c93d

Browse files
haverchuckEquartey
authored andcommitted
fix(smithy): defines Output type to fix beta tests (#3963)
1 parent 136d09d commit 982c93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/smithy/smithy/lib/src/http/http_operation.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ abstract class HttpOperation<InputPayload, Input, OutputPayload, Output>
269269
try {
270270
final payload = await protocol.deserialize(response.split());
271271
output = switch (payload) {
272-
Output _ => payload,
272+
final Output p => p,
273273
_ => buildOutput(payload, response),
274274
};
275275
successCode = this.successCode(output);

0 commit comments

Comments
 (0)