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

Commit

Permalink
fix: correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipPyrek committed Apr 5, 2024
1 parent 37ff954 commit 0bb1ce7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class ExampleStack extends cdk.Stack {
label: 'Generate discount',
onClick: Action.aws.lambda.invoke(
discountGenerator,
{ Payload: { discountValue: '{{discount}}' } },
{ Payload: { discountValue: '{{discount.value}}' } },
{ id: 'discountGenerator' }
),
onClickFinished: Action.buttonize.app.changePage('DonePage')
Expand Down

0 comments on commit 0bb1ce7

Please sign in to comment.