Skip to content

Commit

Permalink
updated prop variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mickychetta committed Apr 4, 2022
1 parent ee60453 commit 5e9c6d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export function buildDynamoDBTable(scope: Construct, props: BuildDynamoDBTablePr
} else if (props.existingTableInterface) {
return [props.existingTableInterface, undefined];
} else if (!props.existingTableInterface && !props.existingTableObj) {
const dynamoTableProps = consolidateProps(DefaultTableProps, props.dynamoTableProps);
const newTable = new dynamodb.Table(scope, 'DynamoTable', dynamoTableProps);
const consolidatedTableProps = consolidateProps(DefaultTableProps, props.dynamoTableProps);
const newTable = new dynamodb.Table(scope, 'DynamoTable', consolidatedTableProps);
return [newTable, newTable];
}

Expand Down

0 comments on commit 5e9c6d4

Please sign in to comment.