Skip to content

Commit

Permalink
pass consistent read false for GS in dyanmo (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantazista authored Nov 13, 2024
1 parent 2d61720 commit 0242fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtc-aws-plugin/src/dynamo-db-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const cleanDynamoItems = async (clean: DynamoClean) => {

if ('query' in clean) {
const result = await documentClient.query({
ConsistentRead: true,
ConsistentRead: clean.index ? false : true,
TableName: clean.table,
IndexName: clean.index,
KeyConditionExpression: Object.entries(clean.query)
Expand Down

0 comments on commit 0242fe1

Please sign in to comment.