diff --git a/packages/aws/stepDefinitions/dynamodb.js b/packages/aws/stepDefinitions/dynamodb.js index b4e124e..6a29396 100644 --- a/packages/aws/stepDefinitions/dynamodb.js +++ b/packages/aws/stepDefinitions/dynamodb.js @@ -152,9 +152,9 @@ async function dynamoQuery (activeArgs, additionalArgs) { if (dynamoQueryArgs.projectionExpression) { queryParameters.ProjectionExpression = dynamoQueryArgs.projectionExpression } - if (dynamoQueryArgs.scanIndexForward) { + if (dynamoQueryArgs.scanIndexForward) { queryParameters.ScanIndexForward = dynamoQueryArgs.scanIndexForward - } + } if (dynamoQueryArgs.indexName) { queryParameters.IndexName = dynamoQueryArgs.indexName }