Skip to content

Commit

Permalink
perfom some simple operations...
Browse files Browse the repository at this point in the history
  • Loading branch information
ebisbe committed Jul 12, 2024
1 parent 7e819c4 commit 4e70a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stepFunctions/itemStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const itemStream: StepFunctions = {
ExpressionAttributeValues: {
":priceDiff": {
"N.$":
"States.MathAdd(States.StringToJson(States.Format('-{}', $.OldImage.price.N)),$.NewImage.price.N)",
"States.Format('{}',States.MathAdd(States.StringToJson(States.Format('-{}', $.OldImage.price.N)),States.StringToJson($.NewImage.price.N)))",
},
},
},
Expand Down

0 comments on commit 4e70a85

Please sign in to comment.