Skip to content

Commit

Permalink
remove extra paren in codegen (#2935)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin authored Apr 23, 2024
1 parent 3a8b105 commit 90f5f77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace Model
msg.InsertEventHeader(":event-type", Aws::String("${entry.value.shape.name}"));
#if($entry.value.shape.eventPayloadType.equals("string"))
msg.InsertEventHeader(":content-type", Aws::String("text/plain"));
msg.WriteEventPayload(value.Get$CppViewHelper.capitalizeFirstChar(${entry.value.shape.eventPayloadMemberName})()));
msg.WriteEventPayload(value.Get$CppViewHelper.capitalizeFirstChar(${entry.value.shape.eventPayloadMemberName})());
#elseif($entry.value.shape.eventPayloadType.equals("structure") || $entry.value.shape.eventPayloadType.equals("list"))
msg.InsertEventHeader(":content-type", Aws::String("application/json"));
msg.WriteEventPayload(value.Jsonize().View().WriteCompact());
Expand Down

0 comments on commit 90f5f77

Please sign in to comment.