Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit b442154

Browse files
committed
fix: correct example in getting started
1 parent 5efb8c1 commit b442154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/content/docs/getting-started/add-buttonize-to-existing-project.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class ExampleStack extends cdk.Stack {
127127
label: 'Generate discount',
128128
onClick: Action.aws.lambda.invoke(
129129
discountGenerator,
130-
{ Payload: { discountValue: '{{discount}}' } },
130+
{ Payload: { discountValue: '{{discount.value}}' } },
131131
{ id: 'discountGenerator' }
132132
),
133133
onClickFinished: Action.buttonize.app.changePage('DonePage')

0 commit comments

Comments
 (0)