Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

Commit 658e21a

Browse files
committed
Fix getConsumedCapacityAsync read/write argument
1 parent 35aa28f commit 658e21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DynamoDB.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default class DynamoDB {
8080
let gsiWrites = this
8181
.getArrayOrDefault(params.GlobalSecondaryIndexes)
8282
.map(gsi => this.getConsumedCapacityAsync(
83-
true, params.TableName, gsi.IndexName, periodMinutes));
83+
false, params.TableName, gsi.IndexName, periodMinutes));
8484

8585
// Await on the results
8686
let tableConsumedRead = await tableRead;

0 commit comments

Comments
 (0)