Skip to content

Commit b0fa5b8

Browse files
Marcel Alburgthibaultdalban
authored andcommitted
fixes quoting
1 parent 0b676d7 commit b0fa5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/events/apiGateway/methods.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ module.exports = {
288288
return {
289289
'Fn::Sub': [
290290
`
291-
#set( $body = $util.escapeJavaScript($input.json('$')).replaceAll(\"\\'\", \"'\") )
291+
#set( $body = $util.escapeJavaScript($input.json('$')).replaceAll(\"\\\\'\", \"'\") )
292292
{"input": "$body", "name": "$context.requestId", "stateMachineArn":"\${StateMachineArn}"}`,
293293
{ StateMachineArn: { Ref: stateMachineLogicalId } },
294294
],

0 commit comments

Comments
 (0)