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

Commit

Permalink
Merge pull request #1 from buttonize/next
Browse files Browse the repository at this point in the history
fix: correct example
  • Loading branch information
FilipPyrek authored Apr 5, 2024
2 parents 37ff954 + 0bb1ce7 commit c27cef9
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 c27cef9

Please sign in to comment.