Skip to content

Commit

Permalink
Update dynamodb.w
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanTarbert authored Nov 15, 2023
1 parent f1e4fa4 commit 498dccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dynamodb.w
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub class DynamoDBTableAws {
pub table: tfaws.dynamodbTable.DynamodbTable;
tableName: str;
hashKey: str;
new (props: DynamoDBTableProps) {
new(props: DynamoDBTableProps) {
this.hashKey = props.hashKey;
this.table = new tfaws.dynamodbTable.DynamodbTable(
name: "${this.node.id}-${this.node.addr.substring(this.node.addr.length - 8)}",
Expand Down Expand Up @@ -171,7 +171,7 @@ pub class DynamoDBTable {
tableSim: DynamoDBTableSim?;
tableAws: DynamoDBTableAws?;

new (props: DynamoDBTableProps) {
new(props: DynamoDBTableProps) {
let target = util.env("WING_TARGET");
if target == "sim" {
this.tableSim = new DynamoDBTableSim(props);
Expand Down

0 comments on commit 498dccf

Please sign in to comment.