Skip to content

Commit

Permalink
Format options in dynamodb.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Dec 27, 2023
1 parent 1b096a5 commit 8c07b9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions dist/lib/dynamodb.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lib/dynamodb.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/lib/dynamodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ export class DynamoDB {
}
: {}),
endpoint,
region,
requestHandler,
// maxRetries property has been renamed from v2 https://github.com/aws/aws-sdk-js-v3/issues/4049
maxAttempts: typeof retries === "number" ? retries : undefined,
region,
requestHandler,
})
);
}
Expand Down

0 comments on commit 8c07b9f

Please sign in to comment.